[Support request] I want logo in the middle

Home Forums Support [Support request] I want logo in the middle

Home Forums Support I want logo in the middle

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2202344
    Heath

    Hi there. I want to get my logo in the middle with the menu icon on the right side and search on the left stuffed on mobile and tablet devices.

    On desktop I want the logo on the middle but on top of each of the menu words listed out of that makes sense. Please advise on how to do this.

    #2202357
    Fernando
    Customer Support

    Hi Heath,

    Let’s try to tackle this one by one.

    First, to put the Logo on top of the menu on Desktop, go to Appearance > Customize > Layout > Primary Navigation > Navigation Location, and set this to Below Header.

    Then Appearance > Customize > Layout > Primary Navigation set the Mobile Menu Breakpoint to 1024px which is the max for Tablet.

    Kindly let us know once you’ve done so and we’ll go on from there.

    Hope to hear from you soon. 🙂

    #2202365
    Heath

    Thanks Fernando. I have completed these steps.

    #2202369
    Fernando
    Customer Support

    Alright, now, you can try adding this CSS in Appearance > Customize > Additional CSS:

    @media (max-width: 1024px) {
        header#masthead .inside-header {
            padding:0;
        }
    
        header#masthead .inside-header .site-logo a {
            position: absolute;
            left: 50%;
            top: 4px;
            transform: translateX(-50%);
        }
    }

    Kindly let us know how it goes. 🙂

    #2202383
    Heath

    That worked but can I get the menu on the right and search icon on the left?

    #2202388
    Fernando
    Customer Support

    If you want it for Tablet and Mobile only, replace the previous code with this:

    @media (max-width: 1024px) {
        header#masthead .inside-header {
            padding:0;
        }
    
        header#masthead .inside-header .site-logo a {
            position: absolute;
            left: 50%;
            top: 4px;
            transform: translateX(-50%);
        }
    
        nav#site-navigation .inside-navigation {
            flex-direction: row-reverse;
        }
    }

    Otherwise, replace it with this instead:

    @media (max-width: 1024px) {
        header#masthead .inside-header {
            padding:0;
        }
    
        header#masthead .inside-header .site-logo a {
            position: absolute;
            left: 50%;
            top: 4px;
            transform: translateX(-50%);
        }
    }
    
    nav#site-navigation .inside-navigation {
        flex-direction: row-reverse;
    }

    Kindly let us know how it goes. 🙂

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