• Resolved vpsgeneral

    (@vpsgeneral)


    Hello everyone.. Thanks in advance for your help.

    How can I remove the sidebar in the Paramount theme on certain pages? For those not familiar with this theme it does not have an option on the edit page to disable sidebar or to use full width. I’ve tried to edit the CSS in page.php but can’t get it to work.

    the page I’m having trouble with is.

    https://frankiegoodrich.com/merch/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hey there

    This can easily be done with a plugin that hides widgets based on page or role. There are two that I have used and both are recommended. Here they are:

    https://www.ads-software.com/plugins/restrict-widgets/

    https://www.ads-software.com/plugins/display-widgets/

    Hope this helps!

    Thread Starter vpsgeneral

    (@vpsgeneral)

    Thanks for the fast reply Mike!

    That would have been WAY to easy though.. I tried both plug-ins.. It would hide some of the widgets but not all of them and it did’t work on every page, only some of them.. and neither plugin made them go away completely. Even with all widgets set to hidden it still showed the themes default widgets. (recent comments, recent posts, meta admin etc).

    I had a few different CSS strings I was trying.. when I remove

    <?php get_sidebar(); ?>

    from page.php it removes the sidebar on all pages.. I was trying to figure a way to just hide the sidebar on one page. The merch page. The page id is “373”.

    Ah easy fix to that though. Just move a blank “text” widget to the page in which you don’t want a sidebar. That will make all the default theme widgets disappear. ..I am not familiar with code but am useful at finding such workarounds or plugins to help ??

    Hope this helps though and if not, maybe someone else here may have an idea. I personally use the method of a blank text widget in combination with restrict widgets plugin to get my sidebars exactly the way I want them to be on all pages.

    Thread Starter vpsgeneral

    (@vpsgeneral)

    OK..I’ll give that a shot. I’ll update the thread after I’ve tried it. Thanks.

    Great, no problem!

    Thread Starter vpsgeneral

    (@vpsgeneral)

    Success! The blank text widget was the key! I’m able to control which widgets show on which page and I can have them all turned off on certain pages.

    Great work around without coding!

    Thanks Mike!

    Sweet, so glad to hear it. Gotta love the tricks in WordPress ?? Have a great day!

    Thread Starter vpsgeneral

    (@vpsgeneral)

    Thank you as well!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove sidebar on certain pages Paramount theme.’ is closed to new replies.