Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1290154
    Gerald E
    Participant

    Hi, i have embedded a video that is too wide on a wide screen. i want to limit width to 800px. However when i do this in cornerstone under Style: max-width: 800px

    However then the video is queezed to the left and i cant make it centred.

    can you pls help?

    #1290162
    Gerald E
    Participant
    This reply has been marked as private.
    #1290163
    Gerald E
    Participant

    to be clear, padding is not suitable in this case as the video would be squeezed to a smaller size on a mobile screen. i need a centred max width video.

    thanks in advance
    gerald

    #1290206
    Rupok
    Member

    Hi there,

    You are not using the “Embedded Video” element rather a Text Element. So when you are setting the max-width, it’s being applied to the Text Element. You should use the Embedded Video element.

    Thanks!

    #1290525
    Gerald E
    Participant

    Ok. i used the embedded video element now but the video is still not centered. How can i get it centred pls?

    #1290817
    Friech
    Moderator

    Hi There,

    Update your embed video element inline STYLE to:

    max-width: 800px;margin: 0 auto;

    Hope it helps, Cheers!

    #1290927
    Gerald E
    Participant

    thank you!

    #1290952
    Lely
    Moderator

    You’re welcome Gerald!

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1290154 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>