This topic is: resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Support Team 4 years, 11 months ago.

  • Author
    Posts
  • #874

    johnnys
    Member
    Post count: 1

    Hello,

    I just installed Comos and I’m very happy with the included tools.
    I was just wondering if there is a way to set a max width for Main Content Width. I.E. 800px vs just a percentage.

  • #878

    Support Team
    Keymaster
    Post count: 740

    Hi Thanks for using Cosmos theme. You can do it by cutom css section. Just add your rules in the custom css tab in theme options.

  • #881

    johnnys
    Member
    Post count: 1

    Thanks, I used the following CSS but then its now left aligned. Having trouble centering the content. i tried other commands to keep center align but no luck. Any suggestions?

    body {
    max-width: 1200px;
    text-align:center;
    }

  • #882

    Support Team
    Keymaster
    Post count: 740

    Hey, you can try in custom CSS:

    body {
        margin: 0 auto !important;
        width: 800px !important;
    }

You must be logged in to reply to this topic.