Dimitri Vorontzov
Dimitri Vorontzov

Reputation: 8104

Submenu Pushes Parent Menu Items Apart On Hover in Modified WordPress TwentyTwelve

I'm working on a WordPress site that uses the modified version of TwentyTweve theme.

My job is to modify the navigation dropdown menu, to make it push the content down when the dropdown submenus appear on hover.

Problem: when the submenus drop down, they somehow push the parent menu items apart.

I want to force the parent items to remain in place. Would appreciate help from a CSS / WordPress guru!

Upvotes: 1

Views: 559

Answers (1)

Omega
Omega

Reputation: 3038

In style.css, line 1515 you should find these width attributes:

width: 180px;
width: 12.85714286rem;

These are the attributes that specify the width of the sub menus and "push the parent menu items apart".

Upvotes: 1

Related Questions