[Resolved] Change main container width to percentage not pixels

Home Forums Support [Resolved] Change main container width to percentage not pixels

Home Forums Support Change main container width to percentage not pixels

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #927718
    Tully

    Hi there,

    Just wanting to change the main container size using percentage not pixel. I have tried the following css that Tom recommended in a previous thread:

    body.grid-container {
    max-width: 90%;
    }

    But not working.

    Thanks

    #927734
    Leo
    Staff
    Customer Support

    Hi there,

    Try adding a space:

    body .grid-container {
        max-width: 90%;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know ๐Ÿ™‚

    #927808
    Tully

    Perfect thanks!

    #928571
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.