Solved

drop down navigation on mobile devices adds spaces

Posted on 2016-11-01
3
92 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AJAX pass along a variable 3 46
CSS SASS 4 34
I can't get any of my Windows applications to accept input from the keyboard 4 33
Link failure 16 31
With the rapid rise in mobile usage, mobile devices are here to stay and have become an integral part of doing business. Here are 9 great apps for your BYOD environment.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

809 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