No main id=geodir-main-content in Detail page

This topic contains 7 replies, has 3 voices, and was last updated by  purpleedge 10 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #8258

    purpleedge
    Expired Member
    Post count: 539

    Any reason why the detail page doesn’t have the …

    <main id="geodir-main-content"

    Would be more consistent and possibly simplify styling a bit if it did have it?

    #8307

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    I’ve flagged this for Stiofan to consider it.

    Thx

    #10527

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    This page is different hence it does not have that.

    #10583

    purpleedge
    Expired Member
    Post count: 539

    🙂

    By definition, it doesn’t have it, so it is different.

    #10624

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    haha yes, that page does not have the ability to change sidebars and adjust the widths etc.

    #10627

    purpleedge
    Expired Member
    Post count: 539

    Hi Stiofan, I just wanted to adjust the margins in the content area. Every other page seemed to have that div id but for that page I had to use a different class to do the same thing as on every other page. I’m not sure why that page HAS to be different, I was just looking at something simple.

    #10668

    Paolo
    Site Admin
    Post count: 31211

    Just FYI,

    GD by default doesn’t add id=geodir-main-content to any page. You can check in the demo…

    For all pages including the detail page the id is geodir-content.

    I’m assuming here, but I think the problem comes when using 1 of the compatibility pack or a child theme of some other theme.

    In that case, the problem can be easily solved, by modifying the functions used to adjust templates.

    Let me know,

    #10722

    purpleedge
    Expired Member
    Post count: 539

    Thanks Paolo, Yeah I think I was using Stiofan’s compatibility pack for Enfold when I was styling my site and noticed the difference. It’s not a big deal, thanks for looking at it.

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount