Link to home
Start Free TrialLog in
Avatar of nsitedesigns
nsitedesignsFlag for United States of America

asked on

replace navigation bar with hamburger menu on tablet landscape

Trying to get hamburger menu to display on TABLET in LANDSCAPE view.  I modified the code below but it doesn't seem to make any difference. The hamburger menu DOES display on tablet in portrait view.

/* .......MEDIA SCREENS........... */

@media only screen and (max-width: 1300px) {
.content {
    float: none;
}
}

Open in new window

Avatar of nsitedesigns
nsitedesigns
Flag of United States of America image

ASKER

SOLUTION
Avatar of Ryan Kilimnik
Ryan Kilimnik
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ryan,

I added your code with the modification to 1024 and it did not make any impact.  I varied to size and it did not matter.  How do I tell what other media screens are out there?  The one you provided I didn't even know about.

/* .......MEDIA SCREENS........... */

@media only screen and (max-width: 1300px) {
.content {
    float: none;
}
}

@media only screen and (max-width: 1024px) {

.menu-toggle,
	.sub-menu-toggle {
		border-radius: 0;
		border-width: 0;
		color: #64c9ea;
		display: block;
		margin: 0 auto;
		overflow: hidden;
		text-align: center;
		visibility: visible;
	}

}

Open in new window

Yikes!  Not sure what BOTH are now displaying!
https://screencast.com/t/Q7cqqWMjnNpe
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I really appreciate all the code you provided.  I am self taught and responsive menus just blow me away.  I can never get them to work right.

Is there a way to have it so the space for the website is wider on tablet landscape views?  Now there is a huge margin on both left and right side of screen that i am sure client will not be happy about.

https://screencast.com/t/tLGKy6YwoyN
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You really helped me out in a pinch - thanks SOOOOO much!
Awesome! Glad I could! Don't forget to close out the question.