I’m redesigning a website for a client in ekmpowershop and I’ve set up a small jquery script to add the class “test” to the parents of all uls that have a child containing a div with a class of .sub. This is with the purpose of adding an arrow where a dropdown menu exists.
Now, the problem is that this is working on all pages except for the product pages, which also happen to contain a nivo slider jquery slideshow. I cannot for the life of me figure out what exactly is causing this problem but I need a solution desperately as the site is live and I’m unable to undo any changes due to the nature of ekm powershop
Not only is this script not working, the jquery.hoverIntent.minified.js script isn’t working either and again, only on the product page.
Here’s the small script:
$(“ul li .sub”).parent().addClass(“test”);
Any help will of course be most appreciated!
Thanks a lot,