So I’ve been on a bit of a crusade to fit the web logo into the menu and make it looks nice. I managed to make it so the text was relatively centered within the menu by adding padding, but now the rollover boxes are no longer in line with the text and the click links are weird. I’d like to be able to have the rollover boxes fit the size of the menu (so same width, but longer length) as well has have the link click areas fill the rollover box space. (I’m going to assume filling the rollover boxes will solve that second part).
This is the custom css I have currently for reference. I also totally recognize the fact that I could’ve only found a partial fix to get where I need to go. Any help much appreciated!
* Vantage Remove Logo in Menu img constraint */ header#masthead.masthead-logo-in-menu .logo > img { max-height: 100px !important; } /* Menu Padding Horizontal */ .main-navigation ul li a { padding-top: 50px !important; padding-bottom: 0px !important; } /* Vantage Center the main menu */ .main-navigation ul { text-align: center !important; } .main-navigation ul li { display: inline-block !important; float: none !important; }
hi,
the logo is not displayed in your menu which makes it hard to help with css.
here is a fix for the gap/space between the links
.main-navigation ul li {
float: none !important;
display: inline-block !important;
margin-left: -4px;
}
can you put the logo back in the menu to see the other css changes you may need
i ‘ve just noticed that your logo is a .tiff you need to change the format of your logo to jpg gif or png
as tiff files dont display on all browsers
this will extend your blue rollover to the full height of the menu
.main-navigation ul li a {
padding-top: 50px !important;
padding-bottom: 0px !important;
height: 124px !important;
}
I updated the picture to jpeg and added the CSS fixes. Thank you for you help!! Seems pretty good to me now!
your logo is still set to the tiff… appearance / theme settings / logo remove and locate the new logo you uploaded and set it to be your logo.
Hi Jon,
I have just visited your website and I can see the only thing remaining is changing you logo to a suitable format as suggested by James. Please do that and everything will be good to go :-)
@James thank you, much appreciated
Cheers