?
Solved

fix wrap around navigation on tablet device

Posted on 2016-10-14
3
Medium Priority
?
50 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 29

Accepted Solution

by:
chilternPC earned 2000 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

Setting up LaraDock for Laravel

Learn how to set up LaraDock in a Laravel project - LaraDock gives us an easy way to run a Laravel application using Docker in a single command.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

762 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