Shopify themes, liquid, logos, and UX
Hello to the entire community, I have a problem with my website. Specifically, when the page is loading, in some cases the slideshow does not load. Can anyone help me?
Solved! Go to the solution
This is an accepted solution.
I just updated the code above, copy that instead.
Hey @Mcosta,
Can you share the link to your store please? Thanks!
Hey @Mcosta,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Above the tag "</body>" tag paste the following. Screenshot attached for reference.
<script>
document.addEventListener('DOMContentLoaded', function () {
try {
setTimeout(() => {
document.querySelector('.slick-list').style.height = document.querySelector('.slick-slide').offsetHeight + 'px'
},900)
} catch {}
});
</script>
Screenshot for reference
Just did it but it seems is not working
This is an accepted solution.
I just updated the code above, copy that instead.
Thank you, even if is not perfect it seems to make the page work correctly!
Thank you!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025