Jump to content

View cart button does not work on mobile


Gonzalo Alvarez

Recommended Posts

The problem is with the "dropdown-backdrop" div, which only seems to load if the screen is below a certain width (i.e. on mobile).

The z-index for it is set to 990 in your css files, so it's covering everything on the page even though you can't see it. Lowering the z-index to 99 seems to fix it.

zindex.gif

Edited by lordignus
spelling (see edit history)
  • Like 1
Link to comment
Share on other sites

25 minutes ago, Gonzalo Alvarez said:

Hello, I found the selector .dropwdown-backdrop in my theme.css file, then I tried lowering the z-index and also adding more value to it. And neither of those two worked.   I do not know if I am doing something wrong or if the problem is somewhere else.

I think instead of lowering the z-index of that element, it is better to add a higher z-index to that specific button. That is better because you do not know where is it used and it might cause another problems. You are looking for a way to solve an issue with that button, but instead of editing that button you are setting new rules for another element. Keep in mind what you are changing

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...