• Resolved fvbussel

    (@fvbussel)


    I have a problem concerning the width of the contens area.
    …. without a sidebar (right) the width is oke.
    link: post without sidebar
    …. with a sitebar (right) the contens width switch to a much smaller size.
    link: post with sidebar

    ????
    see also the frontpage (HOME) with the same problem, this setting (show sidebar) was done while editing the page.

    WordPress 6.1.1
    Theme twenty twenty one with the plugins, among others:
    options for twenty twenty one standard and pro
    Editors: Gutenburg, Spectra, classic and TinyMCE Advanced.

    • This topic was modified 2 years, 1 month ago by fvbussel.
    • This topic was modified 2 years, 1 month ago by fvbussel.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Oliver Campion

    (@domainsupport)

    Hi,

    When you inject a sidebar into the site, you will need to increase the values of both “Customiser – General Options – Align Default Max Width” and “Customiser – General Options – Align Wide Max Width” because the sidebar will impose on the width of the content area.

    Also, you may want to reduce the value of “Customiser – General Options – Sidebar Width”.

    Oliver

    Thread Starter fvbussel

    (@fvbussel)

    It didn’t work what you suggested… ???
    It works partially and it is different on the frontpage and the post.

    Now I have 2 columns on the frontpage (HOME) …see the site. This works fine but another problem now is that the contens is not aligned left under the title. You see this better on page “Berichten“.

    Thanks in advanced, Frans

    On another site it works fine (Berichten).


    • This reply was modified 2 years, 1 month ago by fvbussel.
    Plugin Author Oliver Campion

    (@domainsupport)

    Try adding this CSS to “Customizer – Additional CSS” …

    .entry-content-wrapper.has-background {
    padding: 0;
    }
    Thread Starter fvbussel

    (@fvbussel)

    It works …but an ugly scrollbar appears at the bottom of the contens area, only on pages made with the blockeditor.

    Page Home has now 2 columns with a total width of 95% …the scrollbar disappears.
    Page Berichten has 1 column with a width of 95%, no scrollbar.
    Other pages are made with the classic editor and have no scrollbar.
    For example page “Keurmeesters“.

    Plugin Author Oliver Campion

    (@domainsupport)

    We are not seeing that in Safari on MacOS. Please can you provide a link to a page where the scrollbar appears at the bottom as you describe and let me know what browser / operating system you are using?

    Thank you.

    Thread Starter fvbussel

    (@fvbussel)

    See page “Berichten” (kerstshow.com)
    Tested with the newest version of Brave, Chrome, Edge, Firefox and Opera on a Windows 10 system. All have the scrollbar.

    Windows 10 Home Versie 21H2
    Build van besturingssysteem 19044.2486
    Windows Feature Experience Pack 120.2212.4190.0

    Very strange because, see page “Berichten” (fvbussel.nl) on another site. This page has no scrollbar and the setup is the same. Also a wordpress site with the same theme and almost the same plugins. This site has not the CSS code as you suggested.

    • This reply was modified 2 years, 1 month ago by fvbussel.
    Plugin Author Oliver Campion

    (@domainsupport)

    OK, I see that now. It’s being caused by …

    .pt-cv-colsys {
    margin-left: -15px;
    margin-right: -15px;
    }

    … which is coming from a plugin you have called “Content Views – Post Grid & Filter for WordPress”.

    You may be able to offset that by adding this to “Customiser – Additional CSS” …

    .pt-cv-colsys {
    margin-left: 0;
    margin-right: 0;
    }
    Thread Starter fvbussel

    (@fvbussel)

    Thank you very much for your energy putting in this.
    It works with both CSS you suggested.

    Plugin Author Oliver Campion

    (@domainsupport)

    No problem. Great, I’ll mark this as “resolved”.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Width contens and sidebar’ is closed to new replies.