Home>Support>Fixing Menu Rollover

Fixing Menu Rollover

By Jon Bergamo, 9 years ago. Last reply by Daniel, 9 years ago.

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;
}

URL: http://greyseasonmusic.com

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 6 months ago James

    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

  2. 9 years, 6 months ago James

    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

  3. 9 years, 6 months ago James

    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;
    }

  4. 9 years, 6 months ago Jon Bergamo

    I updated the picture to jpeg and added the CSS fixes. Thank you for you help!! Seems pretty good to me now!

  5. 9 years, 6 months ago James

    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.

  6. 9 years, 6 months ago Daniel
    Hi, I Work Here

    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

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More