Site logo

Archived topic

Tablet Mobile Menu

3 replies · Started by Matthew on August 13, 2017

Viewing posts 1–4 of 4

Hi

Is it possible to set the mobile menu to tablet as well. Currently the main menu takes 2 lines on tablet sized devices, but then switches to mobile at I think 776px.

In case it helps anyone, I just wanted to add that, to get the menu icon to float to the right on tablet view (instead of displaying in the centre), I did the following:
1. Used the code suggested by Leo above
2. Added a 'float: right;' to the first block of CSS, like so:

.main-navigation .menu-toggle {
		display: block;
		float: right;
	}

3. Set the width of button.menu-toggle to 'auto', and added top and bottom padding to match the navigation logo:

button.menu-toggle {
		margin: 10px 0;
		width: auto;
	}

Thanks for sharing!

This archived topic is closed to new replies.