• Resolved candyd18

    (@candyd18)


    Hi first i want to say that i LOVE your theme, but i want to remove the sidebar ONLY from the posts and can’t seem to get it done.

    In case that you need to check something out my website is https://styleustyle.com/

    thanks for your help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • WEN Solutions

    (@wen-solutions)

    Go to Appearance > Widgets and remove the widgets from “Sidebar”
    Thanks

    Thread Starter candyd18

    (@candyd18)

    i already did that, if you check on any of my posts you can see that there’s no widgets but the sidebar is still showing ??

    Thread Starter candyd18

    (@candyd18)

    also i already tried removing the <?php get_sidebar();?> on the single.php file but the sidebar is still showing

    WEN Solutions

    (@wen-solutions)

    But the single page design is looking weird. Is it happen after removing the code <?php get_siderbar(); ?> ? Your single page Link.
    Thanks

    Thread Starter candyd18

    (@candyd18)

    figured it out!! it was a css thing, i had to create a new class with the modifications i wanted in style.css, and then call it through the single.php file replacing the “site-main” class so it didn′t change anything else but the space of the post only on post pages.

    Glad you got this sorted.

    Just a heads-up that if you edited the theme files directly, you’ll lose your tweaks every time you update the them. I’d recommend moving your changes into a child theme, so your tweaks won’t be overwritten when updating the theme. Here are some guides in case you haven’t made one before:

    https://codex.www.ads-software.com/Child_Themes
    https://op111.net/53/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to remove sidebar on posts?’ is closed to new replies.