Related Listings width

This topic contains 8 replies, has 4 voices, and was last updated by  Montrealer 9 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #31423

    Montrealer
    Buyer
    Post count: 31

    Hello,

    on the detail page, I would like to have the Related Listings widget in the bottom section. I want to put it there instead of putting it in the sidebar as there is already enough things in the sidebar wich leaves too much empty space in the content section to the left.

    The problem is that when I put the widget there it stays in full width and goes under the sidebar, wich leaves a big gap between the listing info and the widget (see attachment). I see that we can adjust the width of the widget put no matter what I put in there it doesn’t change. How can I adjust the width of the widget so it fits in the content bottom section?

    #31426

    Simone
    Expired Member
    Post count: 3515

    Hello, could you please post url and login details in a private reply so we can have a look? thanks.

    #31440

    Montrealer
    Buyer
    Post count: 31
    This reply has been marked as private.
    #31442

    Simone
    Expired Member
    Post count: 3515

    The bottom section is correct, it is the area that starts below the sidebar.
    What you can do is to enable the Related listings tab, going in the Geodirectory Settings / Design and then in the Details tab you’ll find the setting for the related listings.

    #31445

    Montrealer
    Buyer
    Post count: 31

    Simone, where do I enable tabs in Design/Detail? I see only “Exclude selected tabs from detail page”.

    On the other hand I don’t know if you did something but now the width has changed, the widget is almost where I want it to be, to the left of the sidebar.

    #31459

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    a bit further down the “exclude selected tabs” settings you will find: “Related Post Settings”.

    That will create a tab with related posts.

    To place the widget where you want it, a customization involving writing custom code is required.

    Thx

    #31466

    Montrealer
    Buyer
    Post count: 31

    I see the “Related Post Settings” and everything seems ok yet there is no related post tab on the Detail page.

    As for the widget requiring customization to put it under the content I am surprised as you see clearly the difference in width between sreen capture in my first post and the one before your reply, I just don’t know how it was achieved as it happened after Simone looked at it.

    Does it mean that any widget that is put in the Detail Bottom Section won’t resize to the left of the sidebar to fill the gap but will instead take the full width and create a big gap? If it’s the case could it be changed in a future release?

    I looked at many geodirectory sites that are all very nice except for the fact that on their detail page they have a very long sidebar to the right with no content whatsoever to the left of it and frankly it doesn’t look good at all.

    #31491

    Guust
    Moderator
    Post count: 29970

    This might be handy to understand the basic layout of GD pages:
    http://docs.wpgeodirectory.com/layout
    You’ll see the bottom section spreads across the page.

    You can reorganise the layout of that page by changing the listing-detail.php template.
    http://docs.wpgeodirectory.com/customizing-geodirectory-templates/

    Move

    do_action( 'geodir_sidebar_detail_bottom_section', '' );

    to just after

    do_action( 'geodir_article_close', 'details-page');

    Example on my test site:
    http://goldroo.net/attractions/trades/bob-the-builder/

    #31505

    Montrealer
    Buyer
    Post count: 31

    That did the trick, thank you very much Guust!

Viewing 9 posts - 1 through 9 (of 9 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket