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

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #189580
    motion2082
    Participant

    Hey guys,

    Having an issue with my left menu at http://tinyurl.com/p2le55u

    Seems to be ok in IE but not in Chrome,

    Anyone know what might be causing this to happen?

    #189594
    Paulie_D
    Member

    Having an issue with my left menu

    Could you be a little more specific?

    #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.

    #189685
    motion2082
    Participant

    Hi Sedana,

    Thank you for your reply.

    I’m using Joomla which can be a pain in the arse to make CSS/JS changes as the Joomla templates already come with a pre-installed template. Add an extension or plugin and you are essentially doubling up on code.

    Have no idea the JS was setting this width also, I may have to debug and find where that is.

    Thank you for your help.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.