Site logo

Archived topic

Customize button in the menu

3 replies · Started by Mathias on April 25, 2020

Viewing posts 1–4 of 4

Hello,

I followed the documentation and I created a button in the primary menu successfully.

I have set the line-height to 30px. But the button went up, since the line-height of the other menu items is different.

The button should be in line with the other menu items with a small padding at the top and down.

thank you very much

Hi there,

Try this CSSS:

@media (min-width: 769px) {
    .main-navigation .menu {
        display: flex;
        align-items: center;
    }
}

thank you very much

No problem :)

This archived topic is closed to new replies.