Balance Theme: Remove Sidebar from Home

Community Forums Forums Design Tips and Tricks Balance Theme: Remove Sidebar from Home

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  SoZo 1 year, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16496

    krystyn
    Participant
    Post count: 148

    I have the three new widget areas already added (http://radiantimagesphotography.com/new/ (Most recent, seniors and weddings are each their own widget)

    I’d like to remove the primary and secondary sidebar from the home page, but I just can’t seem to get the sidebar to completely go away (the widgets I’ve added to the sidebar aren’t showin on the home page, but the standard filler widget is showing for the primary sidebar now :

    Primary Sidebar Widget Area
    This is the Primary Sidebar Widget Area. You can add content to this area by visiting your Widgets Panel and adding new widgets to this area.

    I’ve deactivated those sidebars for the home page in home.php with:

    unregister_sidebar( ‘sidebar’ );

    unregister_sidebar( ‘sidebar-alt’ );

    but something is missing because I’m seeing the generic sidebar still.

    I want that sidebar widget area completely gone on the home page so I can spread the three new widgets I’ve added across the whole page.

     

    Anybody have suggestions?

    #16498

    SoZo
    Moderator
    Post count: 1573

    Add this to home.php
    [php]
    add_filter( ‘genesis_pre_get_option_site_layout’, ‘__genesis_return_full_width_content’ );[/php]


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #16501

    krystyn
    Participant
    Post count: 148

    Oh, thank you so much, SoZo! Perfect and exactly what I needed!

    #16502

    SoZo
    Moderator
    Post count: 1573

    You’re welcome :)


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

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

The topic ‘Balance Theme: Remove Sidebar from Home’ is closed to new replies.