Eleven40 header customization

Community Forums Forums Design Tips and Tricks Eleven40 header customization

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  RiccardoP 2 years, 7 months ago.

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

    RiccardoP
    Participant

    Hi,
    i’m new to Genesis.

    I use eleven40 child theme with ssc layout. I need to put the “title-area” over the “sidebar-alt”, remove the “header widget-area”, and put the “content-sidebar-wrap” on the right of the “title-area+sidebar-alt”. I need a structure like this: http://linuxchronicles.com/eleven-test2.png

    Any suggestions are greatly appreciated!

    #1507

    jb510
    Participant

    If you’re looking for the easiest way to do this, just remove the header parts you don’t want and add the logo to the sidebar widget area (text widget with <img src=….> in it)

    If you’re look for a better way to do it, I’d  try unhooking the header and reattaching it to genesis_before_sidebar_alt_widget_area and then cleaning up the CSS to accomodate.

    Better still would to keep the header outside the #sidebar-alt div but you’re still talking about moving the structure around quite a bit.


    #1521

    RiccardoP
    Participant

    Hi, thanks for the reply. I’ve used this code:

    /** Remove the header right widget area */
    unregister_sidebar( 'header-right' );

    /** Remove the header */
    remove_action('genesis_header', 'genesis_do_header');
    remove_action('genesis_header', 'genesis_header_markup_open', 5);
    remove_action('genesis_header', 'genesis_header_markup_close', 15);

    /** Reposition the header */
    add_action( 'genesis_before_sidebar_alt_widget_area', 'genesis_do_header');

    and edit some css class. Do you think is correct? Structure is ok now.

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

You must be logged in to reply to this topic.