Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #231421

    I have a slider that is 1600 X 470. I want center a video in one of the slides.

    I copied the code from vimeo and pasted it into the div/video field. the actual video ends up being 871 X 470 or something like that.

    It aligns left. can’t get it to center. i put padding on it and it stretches the preview image.

    Any suggestions?

    Thx.

    #231616

    Hi fgrippe!

    Can you please give us a link to the website? Go to the video layer then open the Style panel. On “Custom style settings”, add this code:

    margin: 0 auto; width: 20%; position: relative;
    

    You can change the width value if you want.

    Cheers!
    Ismael

    #232430

    thx ismael.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How to center video in a layersider slide?’ is closed to new replies.