Home>Support>Gap between masthead and menu on mobile display

Gap between masthead and menu on mobile display

Hi,

I’ve been using vantage theme free version and found it to be really useful and building some nice looking sites.

However for some reason there is a gap between the bottom of the masthead and the menu bar that is only visible on mobile devices.

My site looks fine on desktop but no matter what I do I cannot remove the white space between the bottom of the masthead and the start of the menu bar.

Please can someone advise how I remove this gap.

Thanks!

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

  1. 7 years, 6 months ago Alex S
    Hi, I Work Here

    Hi Builder,

    That’s odd. We don’t specifically add any spacing between the masthead and menu bar so I’m not too sure what could be adding this. Do you have a public URL where we can take a look at what’s going on?

  2. 7 years, 6 months ago builder1900

    Hi Alex,

    Thanks for responding, the url is http://www.therunclub.co.uk.

    Looks fine on desktop but on mobile theres a gap between the masthead (bottom of logo) and menu bar which I cannot seem to remove.

  3. 7 years, 6 months ago Alex S
    Hi, I Work Here

    Hi Builder1900

    You can fixe this with some custom CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Please add the following CSS:

    @media (max-width: 680px) {
    	#masthead.site-header {
    		padding: 0;
    	}
    
    	.site-navigation.main-navigation {
    		margin: 0;
    	}
    
    	.support-text {
    		display: none !important;
    	}
    }
    

    Please note that due to the amount of spacing present in the image itself the logo may appear very small on certain devices. The only way around this is to reduce the overall empty spacing present in the image itself.

    You might also need to install the SiteOrigin CSS Editor.

  4. 7 years, 6 months ago builder1900

    Worked perfectly thanks! :)

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