Site logo

Archived topic

Position of the mobile menu label

5 replies · Started by Pieter on August 3, 2021

Viewing posts 1–6 of 6

Hi there,

By default the label for the mobile menu comes right after the hamburger icon. How do I place the label left of the icon?

I tried:


.menu-toggle {
 display: flex;
 align-items: center;
}

.gp-icon {
 order: 1;
}

But it doesn't nicely center the label and icon vertically.

Hi there,

that should work fine, can you share a link to site so i can see the issue?

Can you inspect the text element as well so i can see if that has any margins attached to it?

There's no extra space around the text element. I solved it like this:


.gp-icon {
position: relative;
top: -2px;
order: 1;
}

Thanks for your help!

Glad to hear that

This archived topic is closed to new replies.