Add script to Woocommerce
-
I have this code:
`$(‘div#content’).scroll(function() {
if ($(this).scrollTop() > 20) {
document.getElementById(“header”).style.zoom = “.65”;
} else {
document.getElementById(“header”).style.zoom = “1”;
}
});That works when I injected into a Chrome extension. But does not work when I add it to theme header. I tried using hooks into Woocommerce and tried plugins but can only get it to work via that Chrome extension.
Any help would be great. Thanks
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Add script to Woocommerce’ is closed to new replies.