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.

Read More

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!

Related posts

Leave a Reply

1 comment

  1. 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”.