J
J
Julia Gorelikova2016-07-06 12:18:21
iPhone
Julia Gorelikova, 2016-07-06 12:18:21

Why don't links work on iPhone?

Before that, I had a problem with the mobile menu. When you click on the button, it should have been pushed to the side on top of the slider on the main page. Everywhere worked except iPhones. There was some bug with z-index. I solved the problem by adding to the menu class:
-ms-transform: translate3d(0,0,1px); /* IE 9 */
-webkit-transform: translate3d(0,0,1px); /* Chrome, Safari, Opera */
transform: translate3d(0,0,1px);
Now the menu is being extended, but the links to go to other sections of the site do not work. This menu does not work only on top of the slider on the main page. All other pages are ok. It does not work only on the iPhone, everything works in the emulator in Google Development Tools.
Has anyone encountered this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Kublyakov, 2016-07-06
@Kublyakov

It's hard to tell without code. But if the links are not being clicked, then most likely it's the z-index. Try adding transform: translate3d(0,0,1px); for menu items.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question