kellyetz Posted March 2 Share Posted March 2 Hello! I've tried using this code below to remove the horizontal scroll on mobile and for some reason it's no longer working in the site. I've also tried "overflow-x: clip !important;" and that also doesn't work. Any help would be appreciated! Site: https://drjessicastern.squarespace.com/ pass: testing html, body { overflow-x:hidden; } Link to comment
Web_Solutions Posted March 3 Share Posted March 3 14 hours ago, kellyetz said: Hello! I've tried using this code below to remove the horizontal scroll on mobile and for some reason it's no longer working in the site. I've also tried "overflow-x: clip !important;" and that also doesn't work. Any help would be appreciated! Site: https://drjessicastern.squarespace.com/ pass: testing html, body { overflow-x:hidden; } Add these code on Custom CSS panel in Website > Utilities > Website Tools > Custom CSS. body{ overflow-x: hidden !important; } tuanphan 1 If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks MD Rofik Website Designer and Digital Marketer ☕Am I helpful? Want to offer me a coffee? ✉ Send me a message if needed any help. I'll try to reply as soon as possible. Link to comment
kellyetz Posted March 9 Author Share Posted March 9 Hi! I've added this code, but I'm still seeing a lot of overflow on mobile specifically. Here's the site: https://www.drjessicabstern.com/ And attaching a screenshot of the overflow I get on mobile! Link to comment
tuanphan Posted March 13 Share Posted March 13 On 3/10/2024 at 3:43 AM, kellyetz said: Hi! I've added this code, but I'm still seeing a lot of overflow on mobile specifically. Here's the site: https://www.drjessicabstern.com/ And attaching a screenshot of the overflow I get on mobile! Try this new CSS code body, html, #page, article, section { overflow-x: hidden; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
kellyetz Posted March 13 Author Share Posted March 13 Thanks @tuanphan! I figured out it was because of a psuedo element I had, when I contained that width, it fixed the error! 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