This topic has 1 reply, 2 voices, and was last updated 11 years, 6 months ago by Wajid Khan.
Viewing 2 posts - 1 through 2 (of 2 total)
Hi,
I made some customizations to the radio player on my site: wrgw.fccrockwood.org. Namely, I made it 50% shorter (now 40px). However, the default jQuery function used to toggle the player moves it 80px. I know I could alter the parent theme by changing:
// Radio Player Switcher
jQuery(“.jp-close-btn2”).toggle(function () {
jQuery(this).parents(“.jp-radio”).animate({bottom: -80} ,300); });
so that it is -40 rather than -80. However, I’d prefer to do this through the child theme so that the code does not break with new updates.
Is there a way to override the jQuery function in the child theme? I tried uploading sys_custom.js to musicplay-child/js/ but it does not work as it should.
Thank you again for your help!
Topic is Solved via Skype Communication. But if you want to update this topic please reply here.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.