Site logo

Archived topic

Logo left, hamburger right

9 replies · Started by Hazel on April 10, 2019

Viewing posts 1–10 of 10

I found this code from Tom on the forum to float the logo left and the hamburger right but it doesn't seem to do anything to the site.

@media (max-width: 768px) {
    .nav-float-right .main-navigation {
        float: right;
    }
    .nav-float-right .site-logo {
        float: left;
    }
}

P.S. I'm not using the actual mobile menu.

Hi Leo
Thanks for the reply. I'll certainly use the navigation as header feature in future but this client REALLY wants to have the desktop header on smaller screen sizes. It's working very well except logo and nav are centered. The code to float the logo left and the nav right in my earlier question was provided on this forum for just such an occasion but it isn't working.
Any ideas would be appreciated.

Not sure if I understand.

If you use my suggested above, you would have the logo on the left and menu on right in both desktop and mobile as mentioned.

Hi Leo
Looking at the example page you directed me to I see the menu and a tiny logo. The client wants it to look the way it already does with larger logo and a gradient background. Am I missing something?

By the way, what is estimated release date for Premium 1.8. The site in question is going live next week and I'm reluctant to upgrade to a Release Candidate.

Hi Leo
Thanks. I didn't realise the logo could be as large as I wanted

Wouldn't make the suggestion if it wasn't going to work ;)

Glad it's working for you :)

Hi Leo
I don't know if I used the best solution but the logo didn't show on some screens using 1.8 so I added menu item height until it did. It was made a bit more difficult because the tablet and phone previews didn't seem all that accurate.

Is it possible to add some top and and bottom padding to the navigation if required?

For sure, try this CSS:

#site-navigation .inside-navigation {
    padding: 10px 0;
}
This archived topic is closed to new replies.