• Hi eveyone.

    Im just new to using wordress and im terrible with coding and all the tech talk.

    Iv downloaded the flatsome theme to set up my ecommerce websitre recommended by a youtube video that i followed.
    But im not happy with how the header is layed out. All of my menu options are crambed in between my logo and the cart.

    What id really love is to have a second menu row just underneath this one to add all my categories to.

    Iv folloed some advice on how to do to this already by installing a child-theme and adding this coding:

    Into the Theme.php in my child-theme.

    function register_my_menus() {
      register_nav_menus(
        array(
          'new-menu' => __( 'New Menu' ),
          'another-menu' => __( 'Another Menu' ),
          'an-extra-menu' => __( 'An Extra Menu' )
        )
      );
    }
    add_action( 'init', 'register_my_menus' );

    Then this into my header.php

    <?wp_nav_menu( array( 'theme_location' => 'new-menu', 'container_class' => 'new_menu_class' ) ); ?>

    i also tried this one

    <?php wp_nav_menu( array( 'theme_location' => 'new-menu' ) ); ?>

    None of these worked and its really fustrating me now as all the how to’s out there day to do the same thing.

    Any help would be great.

    Thanks

    Mark

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you tried contacting the creator of Flatsome for support? as other users of the theme may have experienced similar issues as yourself.

    Thread Starter marky89

    (@marky89)

    I have contacted them as well but just waiting for a reply.

    I doubt they will help me do this as on their support page they say they dont help with modifications. Which i assume what i am wanting to do is a modification.

    Thanks

    Hi. I used flatsome once on a client’s website. The first thing you should do is look in the theme’s options panel. If I remember correctly, it offers multiple header styles.

    Thread Starter marky89

    (@marky89)

    Well accoring to flatsome they cannot offer me help as this would require customising their theme.

    If anyone who is good with code can have a look at that code i put in my 1st thread can you possibly see if there is something wrong with it?

    I do get a new colum when i put the code in but its all white and has every single category in it, and i cannot amend it.

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding a second Menu Row in Header?’ is closed to new replies.