The size of embedded <iframe> videos in carousel are wrong
-
Hello!
I tried to create a carousel with embedded vimeo videos, so I followed the instructions I found in this thread:
http://laythemeforum.com:4567/topic/1964/iframe-carouselCreating the vimeo gallery works, I add new text containers to carousel, paste in the embed-code from Vimeo and add "?background=1" to the URL to make them autoplay and hide the controls.
But now I can’t control the size of the videos, they are all way too small, they look like thumbnails. I added the CSS from the thread I’ve linked to which is supposed to make the embedded videos the same size as the container to my custom CSS , but it doesn’t work.
I don’t know what I’m doing wrong, is there something I have to change in the embed-code?
Thank you very much!
-
Dear @piero101
can you post a link to your website?Best!
Marius
-
Hello Marius, thanks for your reply.
I found a way to fix it, I added this custom CSS:.lay-carousel .slide-text {
padding-left: 0;
padding-right: 0; }For some reason that fixed it and I am very happy :)
-
Dear @piero101
great! Thank you for posting your solution!Best!
Marius
Before you post
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it