Support » Theme: Twenty Seventeen » Forcing one-column format on all pages

  • Resolved U003F


    I am migrating a site to the twentyseventeen theme, and have some wide posts that require use of the full page width. This can be achieved easily on the post pages themselves, through selecting one-column, and removing the sidebar.

    However, on other pages, the left column is used for a title (“posts”, “category:foo”, etc), and only the right column is used for the post themselves, leading to their overflowing. How can we force only one column in all pages?

Viewing 1 replies (of 1 total)
  • The answer may be found on a previous post:

    @media screen and (min-width: 48em) {
        .blog:not(.has-sidebar) #primary article,
        .archive:not(.page-one-column):not(.has-sidebar) #primary article,
        .search:not(.has-sidebar) #primary article,
        .navigation.pagination, .site-content .page-header,
        body.archive .site-content .page-header, .site-content .page-header {
            float: none;
            margin-left: auto;
            margin-right: auto;
            max-width: 740px;
            width: auto;
Viewing 1 replies (of 1 total)
  • The topic ‘Forcing one-column format on all pages’ is closed to new replies.