Related Product Slider -> bug?
-
Hi Armin,
I have a problem with my website, specifically with the shop pages. In the mobile view, something seems to be shifted or broken. I have the feeling it might be related to the Related Product Slider. As soon as I set it to display: none the page looks normal again.
https://aleksandartodorovic.com/product/less-gui-more-cavapcici-shirt/
2nd issue:
I don’t know where I can change the following setting: on my phone, the system is automatically set to Dark Mode, so the website also switches to dark mode, which makes some text unreadable. Though, in WordPress, I have set the page background colour to white, but it still appears black on my phone (screenshot attached).Thanks a lot!
All best
Aleks
-
ok let me checc
-
seems to be custom css!!!
Hi Aleks,
I found the cause of both issues: a custom CSS entry on your website, ID 7238 in the “Simple Custom CSS and JS” plugin.
It changes the layout of the entire page, which causes the Related Products section to stretch the mobile shop page. It also explicitly enables a dark background when your phone uses Dark Mode, overriding your background setting.
Please deactivate that CSS entry and check again. If you need it for a particular page or animation, its styles should be limited to that area.
I tested a local copy without that entry, and the mobile shop layout returned to normal.
Best,
Armin -
YESS! Exactly, that was the cause. 😵 Thank you for taking a quick look!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login