Spacing between Header Nav
Permalink Browser Info Environment
Hello,
I've searched and searched the css, but there seems to be a margin or padding in between the menu options and its causing the menu to become two lines. Any clue where to fix this?
Can be seen at lumanswers.com
I've searched and searched the css, but there seems to be a margin or padding in between the menu options and its causing the menu to become two lines. Any clue where to fix this?
Can be seen at lumanswers.com
Type: | Discussion |
---|---|
Status: | New |
Hmmm....I am having the same problem as well...have been seeing it for some time actually, but did not think to look for another's question on it. The theme started off with everything working fine, but then at some point that extra space popped in, but I do not remember when that happened. See the screenshot....I am not sure how much that will really help, but I am seeing that as well. The element inspector is open to roundabout where that line is. Unfortunately, that referenced website is behind a firewall so I can not show you it directly, but would be happy to answer questions. Thanks!
Thanks for the screen shot Pendgragon.
Basically what happened is that when C5 released 5.5 they forgot to include padding at the top for the C5 menu bar which caused problems for themes that had editable areas at the top. However, they fixed this in the next update. We also fixed this in the next version of the theme. If you update the theme this problem will go away - or you can delete some code from the theme's header.php file. It's on lines 20-26 and looks like this:
Basically what happened is that when C5 released 5.5 they forgot to include padding at the top for the C5 menu bar which caused problems for themes that had editable areas at the top. However, they fixed this in the next update. We also fixed this in the next version of the theme. If you update the theme this problem will go away - or you can delete some code from the theme's header.php file. It's on lines 20-26 and looks like this:
<?php $u = new User(); $g = Group::getByName('Administrators'); if($u->isSuperUser()||$u->inGroup($g)){ ?> <div style="min-height: 45px"> </div> <?php } ?>
That fixed it! Thanks!!
there is no website at lumanswers.com so I can't see exactly what's going on but my guess is that it has more to do with your website's name/logo than with the navigation menu. The website name and the menu share that space in the header so if the start to overlap then the menu will push into a second line.
double check your website URL and then re-post it and I will give you a definitive answer.
Thanks,
Ryan Vars
RynoMediaOnline.com