[Resolved] Change the dimension of a normal page

Home Forums Support [Resolved] Change the dimension of a normal page

Home Forums Support Change the dimension of a normal page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #759947
    Elia

    Hi there,

    How can I make this page not too wide? Please take a look at the link that I specified.

    It’s now about 1170px and I want to make it 800px and centered of course

    #760021
    David
    Staff
    Customer Support

    Hi there,

    do you want to change the entire site width including header? If so you can adjust in the Customizer > Layout > Container.

    If you just want to adjust the content area width then you can use this CSS:

    @media (min-width: 800px) {
        #main {
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
    }
    #800637
    Elia

    Thanks, David!

    How can I do the same just for 1 page (page-id-14210)

    #800844
    David
    Staff
    Customer Support

    You can add the class to the rule so #main { becomes .page-id-14210 #main {

    #801534
    Elia

    Thanks a lot!

    #801544
    David
    Staff
    Customer Support

    You’re welcome

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