Site logo

Archived topic

Question about mobile primary nav styling

2 replies · Started by Kemo on January 24, 2019

Viewing posts 1–3 of 3

hi!
the site is https://unhype.com

So far I haven't changed anything in the menu layout apart from fonts and colors and it looks like this on tablet and mobile: https://imgur.com/a/KgGdcCP

is it possible to move the menu button to be in 1 line with the site logo and the search button?
i would the top bar on mobile to be more compact in the fashion of site logo - search button - menu button like here: https://imgur.com/a/hh1c6cg

btw I'm displaying logo as text using this code in functions.php:


add_action( 'generate_inside_navigation','generate_site_title_navigation' );
function generate_site_title_navigation()
{
    ?>
    <div class="menu-site-title">
        SITENAME
    </div>
    <?php
}

thanks a lot!

resolved my own question quickly after asking... happens sometimes. here what helped me:

button.menu-toggle{
	width:initial;
	float:right;
}

Glad to hear that - and thanks for sharing the code :)

This archived topic is closed to new replies.