WordPress.org

Support

Support » Themes and Templates » [Resolved] Set category blog list preview to full page

[Resolved] Set category blog list preview to full page

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Stu,

    A quick way you can achieve a full-width layout on category pages is by copying the archive.php file from your parent theme into your child theme and delete the following lines of code:

    <div class="main <?php //echo kadence_main_class(); ?> <?php //echo $postclass;?>" role="main">

    and also delete the closing main tag at the very bottom of the document:

    </div> <!--/.main -->

    I hope this helps.

    Theme Author Kadence Themes

    @britner

    Hey, making a child theme like antonietta456 described would work, although you can add a function to your child theme functions file:

    <?php add_filter('kadence_display_sidebar', 'kad_sidebar_on_archive');
    function kad_sidebar_on_archive($sidebar) {
      if (is_category( ) ) {
        return false;
      }
      return $sidebar;
    } ?>

    else premium has options for this in the theme options.

    Kadence Themes

    Ok thank you guys! It works now 🙂

    Cheers, Stu

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Set category blog list preview to full page’ is closed to new replies.