I’ve been working with this yesterday but now I have to admit I’m stuck.
I want my navigations margin-top to be 0px but somewhere it still gets the idea that margin-top is 16.5px and I don’t get where that comes. In my css there is no such number but still when I check it with firefox the source says that there is kind of inner style or something which comes out like this:
<ul id="menu-menu class="menu" style="margin-top: 16.5px;" >
And the navigation is done with this line here:
<?php wp_nav_menu( array( 'theme_location' => 'header', 'container' => 'ul') ); ?>
I even checked out every file from original theme but I didn’t notice anything which would cause that inner style. So any ideas how can I fix this? Is it some kind of default style of wordpress or what?
- The topic ‘How to remove inner style from wp_nav_menu?’ is closed to new replies.