fix wrap around navigation on tablet device

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

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?
Question by:nsitedesigns
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
LVL 29

Accepted Solution

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

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

Open in new window

to check other device sizes use the follow emulator:

Author Closing Comment

ID: 41849179
LVL 29

Expert Comment

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.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Anyone familiar with PhotoSwipe? 3 41
toggle content 12 39
CSS Odd/Even Confusion 2 40
Replace statements HTML with HTML IF 8 63
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
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 viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

732 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