CutCodeDown

Web Development => HTML / CSS => Topic started by: AndrewTraub on 12 Mar 2023, 10:30:39 am

Title: Modal menu not working on phone
Post by: AndrewTraub on 12 Mar 2023, 10:30:39 am
I’ve written my site on a desktop and tested it on a desktop. I minimize the browser size to test how it will works on a small screen. The modal menu works fine. But when I try it on Chrome and Safari on my iPhone, nothing happens when I click the hamburger icon.

The site is https://austinaccidentlawyer.com

Any help would be greatly appreciated.

Andrew
Title: Re: Modal menu not working on phone
Post by: Jason Knight on 16 Mar 2023, 07:04:33 am
The "focus of a button" technique doesn't work on crApple's Safari browser. It's why I've switched back to the anchor and :target driven method.