ccxwood Posted January 5 Share Posted January 5 I'm attempting to test the JS + CSS solution found here: 100vh problem with ios safari but unsure how to successfully insert it into cone injection. It seems to me that the code is lacking script tags. Additionally if there is a better solution or recommendation on how I can solve this issue please share. Thank you. I'm targeting: section[data-section-id="659641a7793d7440f55a4f47"] const appHeight = () => { const doc = document.documentElement doc.style.setProperty(‘ — app-height’, `${window.innerHeight}px`) } window.addEventListener(‘resize’, appHeight) appHeight() :root { — app-height: 100%; } html, body { padding: 0; margin: 0; overflow: hidden; width: 100vw; height: 100vh; height: var( — app-height); Link to comment
tuanphan Posted January 9 Share Posted January 9 Hi, What is page url? 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
ccxwood Posted January 17 Author Share Posted January 17 On 1/8/2024 at 11:40 PM, tuanphan said: Hi, What is page url? @tuanphan https://www.sartorigroup.us/new-page Link to comment
tuanphan Posted January 20 Share Posted January 20 Add this code to Website Tools (under Not Linked) > Custom CSS [data-section-id="659641a7793d7440f55a4f47"] { min-height: unset !important; height: 100vh !important; } 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment