Shopify themes, liquid, logos, and UX
Hi guys
I have a javascript code that works perfectly fine on my live server but stops working on Shopify. Can you find the mistake?
const form = document.querySelector('form');
const color = document.querySelectorAll('.main');
document.querySelector('form').addEventListener('change', function(e) {
var colorCodeD = [...form.querySelectorAll('input[type=radio]:checked')].map(element => element.value).join('');
color.forEach(element => {
element.classList.toggle('color1', colorCodeD === 's1');
})
selected.innerHTML = colorCodeD;
});
Hi all, the issue I'm having right now is my collection images are showing up with a black background. I've made sure that they have a transparent '
User | RANK |
---|---|
141 | |
113 | |
79 | |
64 | |
63 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023