responsive iframe overrides text
-
Hey all!
So I’ve embedded an iframe (Google Map) onto my website (https://paqapp.com/portfolio/nativers-favorite-offbeat-restaurants-in-tel-aviv/). However, when you look at it on mobile (or decrease the screen size) the map isn’t responsive.
So I put in this CSS:
`#wt_main .portEntry_content {
position: relative;
padding-bottom: 75%;
padding-top: 35px;
height: 0;
overflow: hidden;
}
#wt_main .portEntry_content iframe {
position: absolute;
top:0;
left: 0;
width: 100%;
height: 100%;
}`The problem was that it overlapped my text and I can’t figure out how to have both the iframe be responsive & the text (in its entirety) be viewable.
Thoughts? Thanks!
- The topic ‘responsive iframe overrides text’ is closed to new replies.