• Hi, I’ve tried almost every guide I could find to remove the sibebar from my website, that uses Gazette theme.
    Only thing that worked was a full width widget, but it loses a video in top of the page, so I cannot use that. Maybe somebody can tell me a solution for my issue?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • I think the following might be what you’re looking for, add it into Appearance->Customize->Additional CSS

    .single .site-main {
    	width: 100%;
    }

    If that doesn’t do what you want, if you can provide a bit more info on what you’re wanting I can try to pin it down further.

    Hi there,

    The code @jarretc gave above is a good start, but you likely also want to remove the border that disappears between the content area and the sidebar. To do that, you can modify that code like this:

    /* Make content column full-width on
       single posts, and remove sidebar border */
    .single .site-main {
      width: 100%;
      border: none;
    }

    If you do that you’ll notice your content shifts to the right of the screen. To prevent that, add this:

    /* Float post content to left on
       single posts */
    .single .entry-content {
      float: left;
    }

    Or to make the content itself full-width, you can use this:

    /* Make post content full width on
       single posts */
    .single .entry-content {
      width: 100%;
    }
    Thread Starter melkker

    (@melkker)

    Super!
    Thanks, everything works fine!

    Happy to help ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove sidebar from post page’ is closed to new replies.