Customize new extra secondary menu outside theme
-
Hi,
I have added an extra secondary meny that was not possible to add within the theme I have found how to do it on goggle and the menu is in place at the correct location.But I need to customize it so it looks better. It is the bottom menu in the header with webshop as an item in the menu.1. The sub items are all over the place under Inspiration ouch tips,
How do I fix that?2. The white background behind the items that are written like webshop is rectangular and goes down ab bit on the the text
V?lkommen till min sida
below the menu. Can that be fixed?3. If I want to change the color of the menu text and the menu bar color, how do I do that?
4. In the mobile version, tis extra menu bar shows up on top of the page making it rather ugly while the primary menu does not do that. Can one fix this?
Below are the php codes I have used which I found on google.
Regards Hans
Extra navigation menu
In Functions.php
function register_my_menu() { register_nav_menu('new - menu',__( 'New Menu' )); } add_action( 'init', 'register_my_menu' );
Placement of bar in the header
Header.php
<?php wp_nav_menu( array( 'theme_location' => 'new - menu' ) ); ?>
- This topic was modified 4 years, 10 months ago by .
- This topic was modified 4 years, 10 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Customize new extra secondary menu outside theme’ is closed to new replies.