[Resolved] Remove sidebar on Page and center content

Home Forums Support [Resolved] Remove sidebar on Page and center content

Home Forums Support Remove sidebar on Page and center content

  • This topic has 7 replies, 3 voices, and was last updated 4 years ago by Leo.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1250364
    Jee

    I’ve removed the sidebar on a page (not a post) and I want to center the content to the width of the site. I tried playing around with Elements but it’s not doing it.

    #1250786
    David
    Staff
    Customer Support

    Hi there,

    can you provide a link to the page where i can see the issue.
    You can edit your original topic and use the Site URL field to share the link privately.

    #1251940
    Jee

    Edited with link in the original topic.

    #1251944
    Leo
    Staff
    Customer Support

    The link requires a Username and Password to view.

    Can you unlock it or provide the info?

    #1251987
    Jee

    I put it at the end of the link.

    #1252002
    Leo
    Staff
    Customer Support

    I’m seeing this CSS which is causing some issue:

    @media (min-width: 769px) {
        #primary {
            width: calc(100% - 380px);
        }
    }

    Then a layout element to narrow the container width should work:
    https://docs.generatepress.com/article/layout-element-overview/#content-1

    Can you disable WP Rocket if you need further help on this?

    #1252149
    Jee

    Thanks! It worked!

    #1252151
    Leo
    Staff
    Customer Support

    No problem 🙂

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