Solved

drop down navigation on mobile devices adds spaces

Posted on 2016-11-01
3
78 Views
Last Modified: 2016-11-07
Trying to figure out what to modify so that the submenu buttons on this wordpress site so it doesn't have such large gaps between the drop down buttons (see Products, Wholesale).  This is quite evident on 1024 x 600 ipad landscape.  I pointed out gaps with green highlight in image.
menu.

http://36a.ed7.myftpupload.com
0
Comment
Question by:nsitedesigns
  • 2
3 Comments
 
LVL 22

Expert Comment

by:Kim Walker
ID: 41868606
This is the style that's giving it the space. Change the padding to zero.
.genesis-nav-menu.responsive-menu .menu-item, .responsive-menu-icon {
    padding: 5px;
}

Open in new window

It's coming from the sccss document. But you should add this to your custom css document.
0
 

Author Comment

by:nsitedesigns
ID: 41868615
Kim,  I did what you asked but it didn't seem to do anything.  I cleared cache too.
0
 
LVL 22

Accepted Solution

by:
Kim Walker earned 500 total points
ID: 41869554
I can't see that you've made any changes. Which is the custom stylesheet in your document? On what line did you add the new style?

I've actually posted the style that you need to override, NOT what you need to add. Just copy the style you need to override and paste it in your custom stylesheet but change the padding to zero. You'll also need to paste it in the correct media query. I can't see media queries that are embedded in linked stylesheets. That's one reason I prefer to have separate stylesheet files for my media queries. The media query parameters are visible in the link tags so it's easy to see.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Learn about the eCommerce marketing trends for the year ahead.
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The viewer will learn how to count occurrences of each item in an array.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now