Solved

fix wrap around navigation on tablet device

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
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 receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

789 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