Menu item breaking into two lines after upgrade

Hi.

After updating a site two of the menu items in the the header menu breaks into two lines. See attached screenshot. I’ve loked at the settings, but I dont’t understand why this is happening.

Could you please look into it?

Url: https://www.vs-auto.no/
Wordpress v4.9.6
Pro v.2.0.4

Regards Christian

Hi @christian,

Thanks for writing in.

I believe that the text broke into other line because it exceeded the width of your menu. I have created a wider space menu and the menu texts did not broke into 2 lines.

To prevent this from happening, you need to adjust the menu with 2 lines’ widths.

Add this in your custom CSS:

.menu-item-27 .x-anchor-text-primary{
    width: 80px;
}

.menu-item-28 .x-anchor-text-primary{
    width: 80px;
}

Hope it helps.

Let us know how it goes.

Thanks.

Hi.

Thanks for your quick reply!

Yes, that did the trick – thanks :slight_smile:

Regards Christian

You’re welcome, Christian. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.