Site logo

Archived topic

Navigation logo size

3 replies · Started by Bernhard on September 14, 2019

Viewing posts 1–4 of 4

Hi,
my navigation menu item height is 35px. I've set a image with height 35px but it is shown with a height of 9px. I tested also a image height of 120px, but the result is the same.
How can I define the height of the navigation logo in the menu.

Hi there,

There is default 10px padding added to the navigation logo which you can remove with this CSS:

.main-navigation .navigation-logo img {
    padding: 0;
}

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

The navigation logo size is controlled by the navigation height.

Let me know if this helps :)

Very good, thank you :)

No problem :)

This archived topic is closed to new replies.