Masonry Buttons not functioning properly

Hello,

If you scroll down my site to the Featured word section, you can see the Masonry Buttons (See All, Branding, Print, Website, Video). When I click on one of these buttons, and then another button, the previous buttons stays “active”, but I would like it to function like your demo.

My site link is: http://creativew.com/themeupdated/

Please help,
Esteban

HI,

I am not sure what caused the issue, but to fix this please follow the steps below:

  1. Install and activate Header and Footer plugin
  2. Go to: Dashboard > Settings > Header and Footer
  3. Add this javascript below to “Before the body closing tag (footer)”
<script>
jQuery(function(){
    jQuery('.project-filter a').click(function(){
	jQuery.each(jQuery('.project-filter a'), function(i, el){
		jQuery(el).removeClass('active');
	})
	jQuery(this).addClass('active');
    })
});
</script>

Regards,
Awan

Thank you Awan.

There are many Header and Footer Plugins. Could you tell me please which plugin I need to use?

Esteban

Hi,

I am sorry for the delay, for the plugin which I mentioned in above, I am using this plugin https://wordpress.org/plugins/header-footer/

Regards,
Awan

This worked perfectly. Thank you very much.

Esteban