Home / Forums / DynamiX Support / Arrow or image on parent menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts

  • jostman
    Participant

    Is there a way to add a arrow or image to a parent menu item which has subpages connected to it?

    Andy
    Andy
    Keymaster

    Hi,

    At the moment no – I'd need to look into this to see how best to go about it. 


    jostman
    Participant

    I made it work with a little jquery magic, thanks for replying though.

    Andy
    Andy
    Keymaster

    If you don't mind sharing the code I could implement into the next update, thanks.


    jostman
    Participant

    Here i'm just checking for the dropmenu list and if it has a child, if it has i'm adding another class to the parent menu.

    $("#dropmenu li:has(ul)")

    .addClass("parent");

    And here's  the css for placing the image.

     .parent {

     background: url("/wp-content/themes/DynamiX-Wordpress/DynamiX/stylesheets/images/expand-down.gif") no-repeat 100% 55%!important;

     

    }
    Andy
    Andy
    Keymaster

    Thanks Jostman! I may include this within a future update 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.