When I enter my site through the phone and get into a product page that has more then 1 image the slider doenst work, when I silde i just shows one image for a second and then it disapears, also the varients also doesnt work when i select one it doenst show its image. On pc everything works just fine.
look at this product for example: מראת ספורט בעיצוב אישי | מראה עיצוב אישי מתנות רומנטיות | פינת הזוגות – Couples Corner
Topic summary
Mobile product page malfunction: on phones, the image slider (carousel) on products with multiple images briefly shows the next image when swiped, then it disappears. Selecting a variant (product option) also fails to display its corresponding image on mobile.
Works as expected on PC/desktop; issue appears limited to mobile behavior.
Details provided:
- A live example URL was shared to reproduce the problem: https://couplescorner.store/products/מראת-ספורט-בעיצוב-אישי?variant=50954721591594
- Tags suggest a front‑end focus (CSS, troubleshooting), and the category is Store Design.
Status and outcomes:
- No fixes, workarounds, or diagnostics reported yet.
- No code snippets or screenshots provided; the linked product page is central for understanding and reproducing the issue.
- Discussion remains open with unresolved questions about the cause and solution.
Hi @Bendax
Okay. For this, I’ll need to check the theme files—specifically the slider JavaScript—to identify why the issue is happening on mobile.
Seems like the theme does not support RTL properly.
I’d try this – In Online store, make a copy of your theme, then click ... select “Edit theme code”. Open assets/theme.js and find this code (around line 2705?):
_initThumbnailSlider: function() {
var options = {
slidesToShow: 4,
slidesToScroll: 3,
Make it this:
_initThumbnailSlider: function() {
var options = {
rtl: true,
slidesToShow: 4,
slidesToScroll: 3,
Ideally, also open layouts/theme.liquid, find
<html class="no-js"
and make it
<html dir=rtl class="no-js"
Hello @Bendax
I have solve you problem,
first you remove
<html dir=rtl class="no-js"
this
dir=rtl
and add this CSS
.grid__item.product-single__photos .slick-track {
position: absolute;
}
Hello,
Go to Online Store → Theme → Edit code.
Open your theme.css / based.css file and paste the code in the bottom of the file.
@media only screen and (max-width: 768px) {
.product__media-list,
.product__media-item,
.slider {
height: auto !important;
min-height: 300px;
}
.product__media img {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
}
}
Thanks!
Hi,
Hope this will help
Please check the follwing
- Check your theme’s JS errors on mobile.
- Disable any custom slider apps or scripts.
- Try switching to an unedited version of your theme.
- Clear Shopify’s built-in media settings.
- Look at variant image linking.
Thank you! this worked perfectly, I worked on the solution for like 3 hours and you just straight up solved it in 2 line of code!