• For some reason some of my pages are full width and some are not. The .has_sidebar class is added to the body of the pages that is not showing full width, but no pages have a sidebar. These pages that have this problem were created using a hierarchy custom post type. The template does not have the sidebar code, so I don’t understand why it’s saying it has a sidebar.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • .has-sidebar is injected because of one of the theme option settings; it does not check or reflect whether a page actually has a sidebar.

    to get your wiki pages to show full width, try for example to add this to the ‘Additional CSS’:

    .single-wiki #page #primary
    {
      width: 100%;
    }
    Thread Starter Candace

    (@aunrea)

    I ended up using

    #page #primary
    {
    width: 100%;
    }

    I don’t want any of my pages to have sidebars. Is there a way to change the theme option setting instead?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Post Type Pages Not Showing Fullwidth’ is closed to new replies.