lilymtang Posted February 10, 2021 Share Posted February 10, 2021 (edited) Site URL: https://www.lilymtang.com/blog/rae-lakes-loop HTML anchor links by default will jump to a section on the page. For some reason, my anchor links have a smooth scrolling behavior. I don't think I ever added any code to make it that way, but I can't figure out how to get rid of it (is it default in the Brine template?). My pages are very long and the scroll effect is unwieldy and slow, so can someone help me figure out how to get back the default "jump to" behavior of anchor links? I have no code in my site code injection or blog code injection, and the only custom css I have are for width properties. I've tried adding the below into my custom css but it didn't work. html { scroll-behavior: auto !important; } Edited February 24, 2021 by lilymtang Link to comment
tuanphan Posted February 14, 2021 Share Posted February 14, 2021 Remove html {scroll-behavior: smooth;} code Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
lilymtang Posted February 24, 2021 Author Share Posted February 24, 2021 (edited) On 2/13/2021 at 7:06 PM, tuanphan said: Remove html {scroll-behavior: smooth;} code Oh I'm sorry I actually meant I added scroll-behavior: auto. "smooth" is what people add to make it smooth scroll...I realize how ridiculous I must have sounded 🤦♀️ But what I have does NOT work, and explicitly adding the scroll behavior property also did not work. Edited February 24, 2021 by lilymtang 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