Site logo

Archived topic

Mobile sticky nav and hamburger mobile alignment

16 replies · Started by Angelica Medina on November 3, 2021

Viewing posts 1–15 of 17

Hello, I followed the steps in the forum regarding off canvas panel menu for the same menu across all devices.

On the mobile version, it splits the alignment of my “sticky navigation logo” apart from the hamburger to opposite end while desktop and tablet remain in the center.

How can I align the the sticky navigation logo and hamburger to the center for mobile?

Hi Angelica,

Can you link us to the page in question? And perhaps, provide a mockup image of how you want things to align? We'll use the mockup image as reference for the CSS writeup. :D

angelicalflowers.com

Hi there,

Your site is in coming soon mode, can you send us temporary access to see the site?

Let me know :)

Yes, you can sign in as generatepress, pass: generatehelp2021^^

You’ll notice that on mobile version the hamburger is to the left and it does not display the navigation logo as it does in desktop and tablet mode.

Yes, done.

Give this CSS a try:

@media (max-width: 768px) {
#sticky-navigation  .navigation-branding {
    margin-right: 10px;
}
.inside-navigation.grid-container {
    justify-content: center !important;
}
#sticky-navigation.main-navigation.has-sticky-branding.navigation-stick.nav-align-center .menu-bar-items {
    margin-left: 0;
}
}

Let me know :)

Thank you for looking into this but it did not change anything.

Nope, nothing changes.

Yes, the new one is in there. I added it to “customize” > “additional css”. Is that not where it goes? 😢

Yes, it is :)

It seems working now.

Let me know!

This archived topic is closed to new replies.