Solved

fix wrap around navigation on tablet device

Posted on 2016-10-14
3
42 Views
Last Modified: 2016-10-19
I am still trying to figure out media queries.  Home button in the site navigation wraps to second line on a tablet in landscape orientation.
http://sheboyganseniorcommunity.com

Is there a way to set the media query for tablet landscape to either reduce margin/padding between buttons so that home will fit on same line as others in the navigation bar?  Or, is there a better way to fix this?  Should I simply replace navigation that doesn't quite fit with hamburger icon?
0
Comment
Question by:nsitedesigns
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
chilternPC earned 500 total points
ID: 41845933
I notice in Microsoft Edge it doesn't do that. but in Chrome it does.
in your styles.css adjust the following:

.site-header .genesis-nav-menu a {
    color: #444;
    padding: 32px 16px;
}

Open in new window


to:
.site-header .genesis-nav-menu a {
    color: #444;
    padding: 32px 12px;
}

Open in new window


to check other device sizes use the follow emulator:

http://quirktools.com/screenfly
0
 

Author Closing Comment

by:nsitedesigns
ID: 41849179
Thanks!
0
 
LVL 28

Expert Comment

by:chilternPC
ID: 41850666
if this is a bought paid for  theme (or even a free one) , be careful it be get overwritten if you update the theme.
one way round this is to install the plugin "simple custom CSS" and active it
then under appearance there will be a custom CSS entry -
simply add:

.site-header .genesis-nav-menu a {
    color: #444;
    padding: 32px 12px;
}

Open in new window


to this and save.  then if the theme updates it will still work.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

776 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