Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. The size of embedded <iframe> videos in carousel are wrong

The size of embedded <iframe> videos in carousel are wrong

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 393 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    prazzo101
    wrote on last edited by prazzo101
    #1

    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-carousel

    Creating 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!

    1 Reply Last reply
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Dear @piero101
      can you post a link to your website?

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • P Offline
        P Offline
        prazzo101
        wrote on last edited by
        #3

        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 :)

        1 Reply Last reply
        0
        • mariusjopenM Offline
          mariusjopenM Offline
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          Dear @piero101
          great! Thank you for posting your solution!

          Best!

          Marius

          www.mariusjopen.world

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          I also code custom websites or custom Lay features.
          💿 Email me here: 💿
          info@laytheme.com

          Before you post:
          1. When using a WordPress Cache plugin, disable it or clear your cache.
          2. Update Lay Theme and all Lay Theme Addons
          3. Disable all Plugins
          4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

          This often solves issues you might run into

          When you post:
          1. Post a link to where the problem is
          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
          Online Users
          A
          antonia_viola
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search