• Resolved Loup Rouge

    (@louprouge)


    Good morning,
    Thanks first for taking time to answers questions.
    The single listing page seems to inherit the navigation settings of the standard wordpress template which is not optimal if you are using a page builder (Divi in my case).
    I’ve read in the forum that the topic was known but I haven’t seen any update.
    What is today the best way to proceed ? (ideally to call it via a code as the other templates: ex: [directorist_all_categories]).
    If not, what is the proposal (to modify the single-at_biz_dir.php page) ?
    Kind regards!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @louprouge,

    If you want to build a custom single listing page, you can do so easily. For that, first, you’ve to enable the option from Directory Listings > Directory Builder > Singel Page Layout > Other Settings: https://imgbox.com/I6iNlWqO
    You’ll see a button to generate the shortcodes, you can then use them to build a custom Single Listing Page. Don’t forget the assign the page as your Single Listing Page there, after you’re done building it.

    Let me know if there’s anything else I can help you with.

    Regards,
    Mahdi.

    Thread Starter Loup Rouge

    (@louprouge)

    Good afternoon Mahdi,
    Thanks for your answer. I’ve tried to play with the settings proposed ie:
    – take the old Tag page,
    – modify the tags to add the ones generated by the Directory Builder / Single Page / Other Settings
    – Assign the page as my Single Listing page.

    It works (ie I’ve seen that it takes the template I’ve created) but… it does not take some standard attributes of my Divi template.

    Ex of a page taking my Divi settings: https://planete.heraldique.net/annuaire/
    Ex of the individual listing that does not take my Divi settings (the title, the blue top line): https://planete.heraldique.net/annuaire/blason-heraldique/

    If you have some suggestion for further investigation, please le me know.

    Thanks for your great plugin BTW!

    Hi @louprouge,

    It still uses the individual component styles that Directorist has. The perk to using it is that you can stricter the page as you want. To style the components themselves as per your liking, you’ll have to use CSS.

    Regards,
    Mahdi.

    Thread Starter Loup Rouge

    (@louprouge)

    OK. I’ll do it with great precaution.
    Side question: which CSS file do I have to play with ?
    Thanks again for your help!

    Thread Starter Loup Rouge

    (@louprouge)

    Good morning,
    Any suggestion about the name of the CSS file to modify if I want to eliminate this title ?

    Hey @louprouge, sorry about the delay.

    Instead of overwriting the CSS files of Directorist, I suggest that you use a child theme and write CSS to the style.css of it, in this way, plugin/theme update won’t overwrite your styling.

    Regards,
    Mahdi.

    Thread Starter Loup Rouge

    (@louprouge)

    OK. But in that case, can ou point me the classes to play with to adjust the title of the single listing page wich is by default located at the top/left part of the page without impacting the rest of the style.
    <h1 class=”entry-title”>Title of the listing</h1>
    But the “entry-title” class is not only used on this page.

    Hi @louprouge,

    This should work for that particular title:

    
    .at_biz_dir > .post-wrap > .entry-title {
        color: Maroon; /* your styles goes here */
    }
    

    Regards,

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Single Listing page customization’ is closed to new replies.