Header menu PRIMARY PARTICLE active on current page

Hello, I would like the PRIMARY PARTICLE to remain active when a menu item is selected as indicator of the current page. How can this be done?

IGNORE! The following script found in another thread does the job!

( function(){

jQuery(’.current-menu-item > a’).addClass(‘x-active’);
jQuery(’.current-menu-item > a .x-particle’).addClass(‘x-active’);
jQuery(’.current-page-parent > a, .current-menu-parent > a’).addClass(‘x-active’);
}, 500 );

Glad to know you were able to find that script. Have a great day! :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.