• Basically I have set up a sidebar on the right side.

    On special pages I would like to have the second sidebar active on the left side. This works if I display both sidebar.

    But now I want to hide the right one and have only the left one, the second one, shown. Unfortunately this does not work, because then the first, the main sidebar is automatically displayed.

    How can I display only the second sidebar?

    Translated with http://www.DeepL.com/Translator (free version)

Viewing 1 replies (of 1 total)
  • Hi,

    You can set that page to show both primary and secondary sidebar, then add this custom CSS code to Appearance > Customize > Additional CSS, to hide the primary sidebar on the right.

    .page-id-416 #main {
        flex-basis: 75%;
        max-width: 75%;
    }
    
    .page-id-416 #sidebar-secondary {
        flex-basis: 25%;
        max-width: 25%;
    }
    
    .page-id-416 #sidebar-primary {
        display: none;
    }

    Get the page ID when editing the page https://share.getcloudapp.com/geuo97yn.

Viewing 1 replies (of 1 total)

The topic ‘Second sidebar’ is closed to new replies.