education theme possible top menu like magazine

Community Forums Forums General Discussion education theme possible top menu like magazine

This topic is: not resolved

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

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

    szoumbaris
    Participant
    Post count: 16

    Wondering if it’s possible to have another menu bar on the education theme I”m using, exactly like the one at the top of the magazine theme? Would this be hard to implement?

     

    Thanks in advance

    #10755

    wpsmith
    Moderator
    Post count: 178

    Not really. However, magazine takes the simple route of moving the primary navigation to the top. So without doing to much work to your site, the approach will be different for you.

    The approach depends on what menus you are currently using (e.g., using both primary and secondary or just primary with secondary not registered, etc). You would need to first, register the menu and second, output the menu.

    Check out this explanation.


    Travis Smith | Recommended StudioPress Developer & Contributor
    WP Smith | @wp_smith | GitHub

    Due to the forums, please paste code using Pastebin, JS Fiddle (for JavaScript) or GitHub.
    How to use Firebug for Designers by SixRevisions

    #10758

    szoumbaris
    Participant
    Post count: 16

    This is what I have now in functions.php in the education folder:

    /** Reposition Primary Navigation */

    remove_action( ‘genesis_after_header’, ‘genesis_do_nav’ );

    add_action( ‘genesis_before_content_sidebar_wrap’, ‘genesis_do_nav’ );

     

    /** Reposition Secondary Navigation */

    remove_action( ‘genesis_after_header’, ‘genesis_do_subnav’ );

    add_action( ‘genesis_before_content_sidebar_wrap’, ‘genesis_do_subnav’ );

     

    I don’t care which nav is which as long as the two I have are: one on the top like magazine and one in the primary nav position.  So can I just move the secondary nav about everything and have that work? would your method do that? Sorry, I haven’t done much menu moving so need a little hand holding. thanks.

    #10804

    szoumbaris
    Participant
    Post count: 16

    can I just reposition the secondary navigation with that command, but place it before header? If so, what would that code look like?

    #10807

    wpsmith
    Moderator
    Post count: 178

    If you read my explanation, the code is there. For your convenience.
    /** Reposition the secondary navigation */
    remove_action( 'genesis_after_header', 'genesis_do_subnav' );
    add_action( 'genesis_before', 'genesis_do_subnav' );


    Travis Smith | Recommended StudioPress Developer & Contributor
    WP Smith | @wp_smith | GitHub

    Due to the forums, please paste code using Pastebin, JS Fiddle (for JavaScript) or GitHub.
    How to use Firebug for Designers by SixRevisions

    #10812

    szoumbaris
    Participant
    Post count: 16

    I did read your code but didn’t understand it till you captured the important piece that I need as an excerpt. That comes across as an attitude issue, which is very trying for the paying customer. As we struggle to move along and educate ourselves, please in the future leave out the mild jabs if possible.

    By the way that worked so thanks I guess.

    #10819

    wpsmith
    Moderator
    Post count: 178

    My apologies. Please note that I do not work for StudioPress, and I forget tone, etc., is different via forum postings. My participation and intention on these forums is to help. So please accept my apologies.


    Travis Smith | Recommended StudioPress Developer & Contributor
    WP Smith | @wp_smith | GitHub

    Due to the forums, please paste code using Pastebin, JS Fiddle (for JavaScript) or GitHub.
    How to use Firebug for Designers by SixRevisions

    #10820

    szoumbaris
    Participant
    Post count: 16

    Not necessary, and I want you to know that I know how much time and effort is involved with helping others on the forums and I do appreciate your help. I was able to re position the secondary menu and also adjust the spacing and now it looks great.

    At this point it may seem trivial to you to accomplish this simple task, but it took some time and effort to add this to my bag of tricks. Since I’ve decided to standardize on studiopress, anything I learn can be applied to the future.

    Thanks again.

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

You must be logged in to reply to this topic.