Solved

stop navigation from wrapping

Posted on 2016-12-27
7
115 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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
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

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot has fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

Question has a verified solution.

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

Suggested Solutions

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
Mobile app development companies have absolutely changed the ways apps are being browsed, used and downloaded by users today.
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
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…

751 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