Site logo

Archived topic

positioning off canvas menu icon

3 replies · Started by Mira on September 24, 2019

Viewing posts 1–4 of 4

Hi, I'm using an off-canvas sticky menu for mobile/tablet portrait, and would like the hamburger menu icon to stick to the top-right instead of being centered. Can I do this?

More generally, is there an easy way to determine the div and class names of items that can be adjusted using custom CSS (other than using Chrome Inspector)?

Thanks!

Hi there,

Try this:

button.menu-toggle {
    text-align: right;
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

The easiest way to determine the name of the classes is to use browser inspector tool indeed. That's what we all use :)

much appreciated, thank you!

No problem :)

This archived topic is closed to new replies.