PotsandPaperbySteph Posted September 6 Share Posted September 6 Hi, I've added some Code Injection to the Footer so that an accordion appears under my product description. It works perfectly on my live website but disappears on mobile - any idea why please? Code used: <script> (function(){ var accordion = document.querySelector('.ProductItem-additional .accordion-block'); var quantitylabel = document.querySelector('.quantity-label'); if(accordion && quantitylabel) { // Remove accordion from current position. accordion.parentNode.removeChild(accordion); // Add accordion before the quantity label. quantitylabel.before(accordion); } })() </script> URL:https://www.potsandpaperbysteph.com/shop/p/o3rmu4pac0fwpetkskvge721p57asg Password: HELP Thanks in advance! 🙂 Link to comment
tuanphan Posted September 9 Share Posted September 9 Hi, It looks fine to me. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment