Forums
Home / Plugin: WP YouTube Lyte / Problem with responsiveness for certain posts
(@huntsimply)
8 years, 12 months ago
Hi
I am unable to get the video to be responsive in certain post type (e.g. link).
The code works in certain post types (e.g. link).
Hope you can advise me what I have done wrongly.
Thanks in advance!
https://wordpress.org/plugins/wp-youtube-lyte/
(@futtta)
that’s because the containing DIV is too wide, rendering the entire blog-post unresponsive actually. the reason; on the page where it doesn’t work, your css for has
.blog_post { width:auto; }
but is should be:
.blog_post { width:auto; max-width:100%: }
hope this helps, frank
Hi Frank, thanks so much for the quick response. that’s very helpful!