Set max width for site

This topic contains 3 replies, has 2 voices, and was last updated by  Guust 6 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #410237

    Faye
    Expired Member
    Post count: 76

    Hi there,

    I’d really like my directory to sit centrally in the browser and not expand past a certain size (say 1200px).
    Is there an option to set it to be contained rather than full width anywhere?

    Thanks,

    #410242

    Guust
    Moderator
    Post count: 29970

    Use this CSS, adjust as required:

    
    
    #geodir-wrapper {
        max-wisth: 1200px;
        margin: auto;
    }

    This may be of interest for other styling changes: https://wpgeodirectory.com/docs/customizing-your-style/
    If you need more advice, post your URL, so we can check the code required.

    Thanks

    #410329

    Faye
    Expired Member
    Post count: 76

    Brilliant, thanks for the link.

    So after some debugging it turned out I had accidentally previously set the width to 100%. When I removed that I only had to use your css for the #footer area, and now it all looks lovely. Thank you 🙂

    #410331

    Guust
    Moderator
    Post count: 29970

    Lovely 🙂

Viewing 4 posts - 1 through 4 (of 4 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