Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #93035
    brianmor
    Participant

    How do I configure Catch Base Pro so that the right sidebar only appears on the homepage?

    The homepage is my main blog archive (rather than a static page), so unfortunately I can’t just override my default “No Sidebar (Content Width)” layout.

    Happy to do this with a child theme if that’s the best way.

    #93074
    Mahesh
    Keymaster

    @brianmor: This is be done with Custom CSS. Go to Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS box and add the following CSS:

    .sidebar-primary {
        display: none;
    }
    
    body:not(.home) #main {
        width: 100%;
    }
    
    .home .sidebar-primary {
        display: block;
    }

    Hope this helps. Let me know if any problem. And please post in your site url.

    Regards,
    Mahesh

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Sidebar on homepage only’ is closed to new replies.