Forums

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

Home Forums JavaScript Three problems with MagicLine + WordPress Integration.

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #32833
    cee
    Member

    Hello all,
    I have gotten MagicLine (https://css-tricks.com/examples/MagicLine/) kindof working with WordPress, but have ran into a few problems which are a bit over my head.

    1) I have two menus, and the one with MagicLine does not have “home” in it. When you’re on the hompage (or a page not in this menu) there is no on state (current-menu-item) pre-selected. This shouldn’t be a problem, but for some reason if you hover over a menu item and then leave, it’ll throw the colored box of the one you left from to the left of the menu instead of disappearing back to transparent as it should.

    2) If I’m on a page which is within a category, the parent should be selected. WordPress has some great classes already built into the

  • like .current-menu-parent… Is there any way I can have .current-menu-item & .current-menu-parent both work?

    3) For some odd reason, if I’m on a single post, the menu doesn’t work.

    Here’s my site in progress: http://dev03.00ff00.com/

    Thanks!

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.