TheRyeRoom Posted July 10, 2022 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!
Solution tuanphan Posted July 10, 2022 Solution 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> whoisd3 1 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!)
TheRyeRoom Posted July 11, 2022 Author 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! whoisd3 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment