TheRyeRoom Posted July 10, 2022 Share Posted July 10, 2022 Site URL: https://www.theryeroom.com/sonido-booking Hi there, I'm having issues making this iframe code box responsive on my website. Width seems to be okay but height isn't filling out the page causing the user to scroll. I have tried a few different approaches via code I found on this forum with no luck. One version I was able to change the look to what I'm going for but it messed with the header and footer. Hoping you are able to help me! Thanks so much! Link to comment
Solution tuanphan Posted July 10, 2022 Solution Share Posted July 10, 2022 Add to Code Block <style> iframe[src*="mysonido"] { height: 900px !Important; } @media screen and (max-width:640px) { iframe[src*="mysonido"] { height: 1200px !Important; } } </style> 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
TheRyeRoom Posted July 11, 2022 Author Share Posted July 11, 2022 10 hours ago, tuanphan said: Add to Code Block <style> iframe[src*="mysonido"] { height: 900px !Important; } @media screen and (max-width:640px) { iframe[src*="mysonido"] { height: 1200px !Important; } } </style> Thank you so much! That was able to fix it! 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