• Resolved Kiki Dudal

    (@kiki-dudal)


    Hi,
    I have installed the Virtue theme. Right now the sidebar appears on all pages (except the homepage), I would like, however, to remove the sidebar from all pages.

    I cannot find information on how to do this.
    Hope you can help.

    Kind regards.
    Kiki

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Kiki Dudal

    (@kiki-dudal)

    Never mind, I just found a solution ??

    If anyone else is looking there is a page template called “fullwidth” that you can use for pages.
    Kiki Dudal, glad you found it!
    Kadence Themes

    I’ve been trying to change the full-width template to be my default. I don’t have a sidebar but it’s still leaving the space for it. I have to manually select Full-width from the drop down and would rather have it be chosen automatically for each new page. Help?

    You can’t have a template picked automatically for each page. You can use a duplicator plugin though so you can create a new page by duplicated another one.

    Else if you want the default template to not have a sidebar then you would need to use a child theme: https://www.kadencethemes.com/child-themes/

    And add this function into the functions.php file.

    add_filter('kadence_display_sidebar', 'kad_sidebar_off_page');
    function kad_sidebar_off_page($sidebar) {
    	if (is_page() ) {
                return false;
             }
      return $sidebar;
    }

    Kadence Themes

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing sidebar from pages’ is closed to new replies.