I
I
Igor2018-01-04 12:26:08
YouTube
Igor, 2018-01-04 12:26:08

How to make youtube responsive iframe not overlap adsense block on page?

At the beginning of the post on the page, there is a rectangular adsense block with text wrapping on the right. After the text, a fixed-size youtube video is embedded, which also wraps around adsense.
Recently, the author of the wordpress theme I use made all youtube videos responsive and fill the entire width of the screen, regardless of whether the iframe size is specified or not. Everything would be fine if the iframe did not overlap the blocks above (the same adsense), if there is not enough text between them.
What can be done through html or css to make the iframe move down? Or configure the adsense block so that it does not allow itself to be blocked under any circumstances?
An example is here: https://zgoba.ru/money-for-nothing-dire-straits/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tyzberd, 2018-01-04
@altevsk

.fluid-width-video-wrapper add overflow: hidden;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question