Home › Forums › Back End › Implementing jQuery on SVG for the WordPress Header Logo › Reply To: Implementing jQuery on SVG for the WordPress Header Logo
May 10, 2014 at 4:40 am
#169704
Participant
@psionicsin What about this:
jQuery('.bm-logo').hover(
function () {
jQuery('.logo-square, .logo-bg').attr('fill', '#b565a7 ');
jQuery('.logo-square').css({
'-webkit-transform': 'scale(0.6)',
'-moz-transform': 'scale(0.6)',
'-o-transform': 'scale(0.6)'
});
}, function () {
jQuery('.logo-square, .logo-bg').attr('fill', '#404040 ');
jQuery('.logo-square').css({
'-webkit-transform': 'scale(1)',
'-moz-transform': 'scale(1)',
'-o-transform': 'scale(1)'
});
}
);