Zuelch Posted August 7 Share Posted August 7 Hi, Just as the title says, the previous button of the gallery on the page https://www.zuelch.space/landing/project-one-h346n-sgbwt is working fine on desktop, but not all the time on mobile. I noticed that it works down to a browser width of 546px, but not narrower, so it doesn't work on most phones. I think maybe the image block covers the button at some width, but I have no clue as to how to adjust it accordingly. I tried some stuff like the z-index property, the mobile width, of the button etc. , but that doesn't work. I'd really appreciate it if I could have some insight from someone here, since there isn't anything on the web regarding this issue. Thank you in advance, Max Link to comment
Solution HoaLT Posted August 7 Solution Share Posted August 7 1 hour ago, Zuelch said: Hi, Just as the title says, the previous button of the gallery on the page https://www.zuelch.space/landing/project-one-h346n-sgbwt is working fine on desktop, but not all the time on mobile. I noticed that it works down to a browser width of 546px, but not narrower, so it doesn't work on most phones. I think maybe the image block covers the button at some width, but I have no clue as to how to adjust it accordingly. I tried some stuff like the z-index property, the mobile width, of the button etc. , but that doesn't work. I'd really appreciate it if I could have some insight from someone here, since there isn't anything on the web regarding this issue. Thank you in advance, Max I checked that this code makes some other element over the previous button so we can not click on it. If this style is required for desktop view, you should set this code in a breakpoint for desktop so it would not affect the style on mobile @media only screen and (min-width: 768px) { /* add your custom css code here */ } I tried hiding this element, then I could click on previous button as normal Hope it can help Zuelch 1 Press 👍 or mark my comment as solution if you find my sharing useful 🆒 Squarespace pinchzoom lightbox plugin (affiliate link) 👁🗨 360 degree photo viewer (affiliate link) Link to comment
Zuelch Posted August 8 Author Share Posted August 8 @HoaLT Thank you so much! I changed the height and position of the logo and now it works perfectly. Thank you for pointing me in the right direction. Have a great day, Max HoaLT 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment