jQuery(document).ready(function() { var slug = location.pathname; if (slug == "/collections/") { console.log(slug); jQuery("#nav li").eq(2).addClass('current-menu-item'); } }
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Please add it in your file wp-content/themes/skyfashion/common/js/scripts.min.js at the end of file: Kind regards