Reposition Header to Sidebar Left

Community Forums Forums Design Tips and Tricks Reposition Header to Sidebar Left

This topic is: not resolved

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

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #40709

    genevishgraphics
    Participant
    Post count: 52

    Hi All -I am trying to do a new theme based off of Sample – I want to reposition the header to the left sidebar area – Like Brian Garner’s new website, instead of using the sidebar widget. The menu will be there as well, just like he has.
    Any tutorials out there?
    Thanks in advance!

    #40721

    braddalton
    Participant
    Post count: 10245

    Haven’t seen one but i would email Brian using the contact form on his site and ask for the code.


    #40754

    genevishgraphics
    Participant
    Post count: 52

    I did – no dice…yet. Maybe someone will help me out before the next version of genesis!! ;)
    But I will keep working at it to see what I can do on my own! Love Genesis!

    #40868

    genevishgraphics
    Participant
    Post count: 52

    So wow – I have made som progress. I have figured out how to move the nav to the sidebar using
    `/** Move primary nav menu */
    remove_action( ‘genesis_after_header’, ‘genesis_do_nav’ );
    add_action( ‘genesis_sidebar’, ‘genesis_do_nav’ );`
    and it works great!
    However, after applying the same steps to the header using this
    `/** Move header */
    remove_action( ‘genesis_header’, ‘genesis_do_header’ );
    add_action( ‘genesis_before_sidebar_widget_area’, ‘genesis_do_header’ );
    `
    The only thing that gets moved to the sidebar is the title-area div, and the header div is still above the inner div.
    It is probably something simple, I know it is something I am missing here. Any helpers out there? Thanks!
    Site here

    #40889

    braddalton
    Participant
    Post count: 10245

    Just echo your header image in using the hook

    [php] ‘genesis_before_sidebar_widget_area’[/php]


    #40892

    genevishgraphics
    Participant
    Post count: 52

    I got it – tinkering for awhile – but I think I have it!

    #40893

    genevishgraphics
    Participant
    Post count: 52

    Any ideas of how I can get the primary sidebar widget to display in the correct place now?
    I have the header right where I want it and the nav below that. However now my social icons that are in the primary sidebar are getting pushed to the right of the sidebar

    This is the code I am using to get things to finally work- courtesy of http://www.carriedils.com/
    I just changed the actions to where I wanted the header to go

    `/** Move header */
    remove_action( ‘genesis_header’, ‘genesis_header_markup_open’, 5 );
    remove_action( ‘genesis_header’, ‘genesis_do_header’ );
    remove_action( ‘genesis_header’, ‘genesis_header_markup_close’, 15 ) ;

    add_action( ‘genesis_before_sidebar_widget_area’, ‘genesis_header_markup_open’, 5 );
    add_action( ‘genesis_before_sidebar_widget_area’, ‘genesis_do_header’ );
    add_action( ‘genesis_before_sidebar_widget_area’, ‘genesis_header_markup_close’, 15 );

    /** Move primary nav menu */
    remove_action( ‘genesis_after_header’, ‘genesis_do_nav’ );
    add_action( ‘genesis_after_sidebar_widget_area’, ‘genesis_do_nav’ );
    `

    #40897

    genevishgraphics
    Participant
    Post count: 52

    NM – Stupid old css code I had left in there!

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

You must be logged in to reply to this topic.