Solved

stop navigation from wrapping

Posted on 2016-12-27
7
125 Views
Last Modified: 2017-01-17
How do i set the css so that on mobile devices which measure 1024 x 600, my site's navigation does not go to two lines.  The home button goes down a line.  

I like how the navigation works on devices that measure 960x600 where the entire navigation is centered  BELOW the logo.

1024 x 600 screenshot
http://screencast.com/t/UpDYx7UaZzGa

960x600 screenshot
http://screencast.com/t/vEPYbLOlreVZ

https://nsitedesigns.com
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
  • 3
  • 2
  • 2
7 Comments
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 250 total points
ID: 41939429
I can't get it to do that in any browser or mode.  However, your SiteLock image covers your phone number.  And on my older version of Chrome on this XP computer, it always shows the 'mobile' view with the 'hamburger' nav icon even at full screen.  On Windows 7, it acts as it should.
0
 
LVL 3

Expert Comment

by:Edward Jimenez
ID: 41939582
Hi nsitedesigns,

my browser does not split up the navigation onto 2 lines when view at that dimesion (1024 x 600).  I'm using Chrome version 54 on Linux.  What browser are you using?
0
 

Author Comment

by:nsitedesigns
ID: 41940039
I am using an emulator found here:
http://quirktools.com/screenfly/
0
Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41940342
I can't get it to do that even with that emulator.  I am not in favor of using the browser emulators that I have seen.  I use the 'real' browsers which is why I have too many computers.  My Mac Book died so I don't have a 'real' Safari anymore.
0
 
LVL 3

Accepted Solution

by:
Edward Jimenez earned 250 total points
ID: 41940399
I tried that emulator and the home link navigation did not wrap:

960 x 600:
http://www.screencast.com/t/MAEvFKl09B0g

1024 x 600:
http://www.screencast.com/t/Yuh3PEXjn

Did you make any changes to the styling? Maybe you are looking at a cache version of the styles applied?  When I manually changed the width for the header .widget-area to 500px, then I did see the navigation menu wrap, but under normal circumstance, when viewing it with different devices, the navigation menu did not wrap:
https://www.screencast.com/t/8BL1dFbPOr
0
 
LVL 3

Expert Comment

by:Edward Jimenez
ID: 41940407
use the web tools that comes with Chrome.  Aside from using various emulators, you can also see the page source code and temporarily make changes to the code to see the results which you can then apply to your real code.
0
 

Author Comment

by:nsitedesigns
ID: 41941481
Hmmm, that is strange.  There must have been some caching going on because now it displays fine.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

632 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