How to remove the Sidebar on a single category page

Community Forums Forums Design Tips and Tricks How to remove the Sidebar on a single category page

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  iknowtech 10 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #60754

    iknowtech
    Participant
    Post count: 1

    How can I remove the sidebar from a single Category Page? I have one category that when presented I’d like it to be Full Width.

    You can see the page I’m working on here:

    http://aldersly.com/category/health-and-diet/dining-menus/

    I tried the following but no luck:

    //remove the sidebar on the Menus Category
    if ( is_category(‘dining-menus’) ) {
    /** Remove default sidebar */
    remove_action( ‘genesis_sidebar’, ‘genesis_do_sidebar’ );
    }

    http://aldersly.com/category/health-and-diet/dining-menus/
    #60755

    braddalton
    Participant
    Post count: 8852

    Simply edit the category and change the layout to full width.

    You could also use code in your child themes functions.php file.

    https://gist.github.com/braddalton/6445556


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #60757

    iknowtech
    Participant
    Post count: 1

    Thanks Brad!

    Well that was way to obvious! I didn’t even know you could set a layout in the GUI for a category.

    Sweet, find something new in Genesis all the time.

    Thanks for the super prompt response!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.