Solved

fix wrap around navigation on tablet device

Posted on 2016-10-14
3
45 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 29

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 29

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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
The viewer will learn how to dynamically set the form action using jQuery.

685 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