Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Menu Width takes a couple of seconds to snap Reply To: Menu Width takes a couple of seconds to snap

#189613
Sedana
Participant

You seem to be setting the menu items width with javascript to 210px. In your stylesheet the width is set to 200px:

#ariext106 LI.ux-menu-item-level-0 {
width: 200px;
padding-left: 10px;
}

CSS loads faster than your javascript function and that is why your menu appears to be too small at first. I don’t see why you need to set the width with javascript at all.