Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #869795

    Andy
    Participant

    Hi,

    At roadtripsharing.com/ideals

    I added a page body class rts-page-body and the following Global CSS

    .rts-page-body {
    max-width: 500px;
    margin: auto;
    }

    made the navbar narrow too. I just want the body and not the header though now that I think about it I guess the navbar is technically part of the body? Not sure but I just want the column of text on the page to take the styles, not the navbar. Can I use body CSS class for that or is a different approach better?

    Thanks.

    #870272

    Jade
    Moderator

    Hi Andy,

    It seems like you have already figured this out since when I checked on your page, you navbar is fullscreen and your body has the fixed width.

    Please let us know if you have an further queries. Thank you!

    #870381

    Andy
    Participant

    Thanks Jade,

    Are you checking roadtripsharing.com/ideals because i see the navbar and body there both being 500px wide even after clearing my browser cache.

    Is it showing up like that on your end? Much appreciated,
    Andy

    #870706

    Lely
    Moderator

    Hi Andy,

    Please update above CSS to this:

    .rts-page-body .x-main {
        max-width: 500px;
        margin: auto;
    }

    Hope this helps.

    #871590

    Andy
    Participant

    Thanks kindly.

    #872272

    Prasant Rai
    Moderator

    You are most welcome. 🙂