Metro Theme Sidebar

Community Forums Forums Design Tips and Tricks Metro Theme Sidebar

This topic is: not resolved

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

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

    francky
    Participant
    Post count: 39

    How can I remove/unregister SIDEBAR on Front Page only and have front page contents at full width (100%) WHILE keeping the sidebar on the rest of the site? I’m using Metro Theme!

    I shall appreciate your help.

    #17883

    SoZo
    Moderator
    Post count: 1573

    Go into home.php and edit the layout filter

    [php]add_filter( ‘genesis_pre_get_option_site_layout’, ‘__genesis_return_content_sidebar’ );[/php]
    to [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

    #17923

    francky
    Participant
    Post count: 39

    WoW!! PERFECT!!

    Thank you so much, SoZo!!

    #17974

    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 ‘Metro Theme Sidebar’ is closed to new replies.