[Resolved] Question about mobile primary nav styling

Home Forums Support [Resolved] Question about mobile primary nav styling

Home Forums Support Question about mobile primary nav styling

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #790779
    Kemo

    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!

    #790789
    Kemo

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

    button.menu-toggle{
    	width:initial;
    	float:right;
    }
    #790796
    David
    Staff
    Customer Support

    Glad to hear that – and thanks for sharing the code 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.