[Plugin: WP Carousel] Adding styles to active link
-
Hi, I’m currently using the WP Carousel as a menu in a membership site. I need to add a border to the active link but for some reason its not showing. If I use this script, it only highlights the first image in the menu:
<script type="text/javascript"> var $allimages=jQuery('.belt .panel') $allimages.eq(0).css({border:'3px solid #0078C9'}) //style for first image $allimages.click(function(){ $allimages.css({border:none}) //style for unselected images jQuery(this).css({border:'3px solid #0078C9'}) //style for selected image }) </script>
Any help would be greatly appreciated. Thanks!
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘[Plugin: WP Carousel] Adding styles to active link’ is closed to new replies.