Difference in desktop site & mobile site’s view of sliding gallery

  Kiến thức lập trình

I’ve been trying to get this thing to work for a while now, but it’s been giving me headaches.
(Not an experienced coder here), But i was able to add a sliding gallery to my site : https://www.spectrumtheories.com/products and it looks perfectly fine on mobile, then on desktop the width of the gallery is reduced, so what i added on the gallery css’s location was : overflow: unset;
which fixed it well on desktop. Now i can see the full gallery covering the whole page correctly.

But now when i get on mobile, the page goes towards the right when scrolling down & ofcourse my way of fixing is adding overflow-x: hidden; to the body of my css, but on mobile it still doesn’t work.. The site still scrolls to the right, if anyone could help me with this issue that would be amazing as this is very frustrating!

New contributor

Khaleel Haynesworth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT