Solved

drop down navigation on mobile devices adds spaces

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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

772 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