Mobile Overlap

Support Area Forums Moonrise Mobile Overlap

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://gardendelipizzeria.com
  • Author
    Posts
  • #25871
    rob nelson
    Participant

    Hi Again.

    I did have another quick question. On Mobile I am getting some nav menu and site title overlap. See attached. Not sure how to set the nav menu for mobile.

    Thanks again, sorry I missed the last thread.

    Rob

    #25873
    Bill Robbins
    Moderator

    Hello Rob,

    Good questions. It looks like there’s a height set for the header in the Custom CSS. What you’ll probably want to do is wrap that in a media query so that it only affects larger screen sizes.

    Change this:

    
    #header {height: 100px;
    }
    
    

    to this:

    
    @media only screen and (min-width: 1024px) {
    
    	#header {
    		height: 100px;
    	}
    
    }
    

    and that should help out the header. Also while you’re in there, take out this block:

    
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    
      ga('create', 'UA-39980396-1', 'auto');
      ga('send', 'pageview');
    

    You can add in Google Anayltics tracking, but since this is a styling block, the code won’t be picked up properly. I would suggest using a plugin like Yoast’s analytics or the Google Analyticator to add in the tracking code.

    Take care,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Mobile Overlap’ is closed to new replies.