• Hi
    I want to remove the sidebar on my posts section.
    This sidebar seems to be directly linked to the sidebar on my home page. Whatever edits I do to the home page sidebar also happen on the posts sidebar. I tried customising the posts set up by removing the sidebar content but that also removed the content from the home page sidebar at the same time. I have searched a lot on my website but I can’t see how the two pages are linked. Any advice?
    Thanks, Paul

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • From your homapage or index file remove get_sidebar(); code.. I hope it will disappear.. Actually it’s difficult to say without exploring your site

    Thread Starter pauloraw

    (@pauloraw)

    Hi, my one and only experience with code was a disaster for me! Is there another non-code way?
    Thanks, Paul
    https://www.pauloraw.ie

    Hi @pauloraw,
    try adding the following CSS to your theme’s “additional CSS” in the customizer

    This to remove sidebar from posts

    .single-post #sidebar, .single-post #sidebar-alt {
    	display: none;
    }

    and this to remove sidebar from the posts archive

    .archive #sidebar, .archive #sidebar-alt {
    	display: none;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘remove post sidebar’ is closed to new replies.