Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1239418
    mahmoud237
    Participant

    How to remove the black top and bottom padding on youtube video done by convert plug … That padding becomes visible on smaller screens …. please check the attached image

    #1239452
    Joao
    Moderator

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #1239626
    mahmoud237
    Participant
    This reply has been marked as private.
    #1240195
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    Upon visiting your website i am getting Error establishing a database connection error message. We request you to kindly look into the matter and provide us the correct URL.

    Thanks.

    #1240947
    mahmoud237
    Participant
    This reply has been marked as private.
    #1241355
    Lely
    Moderator

    Hi There,

    This is because iframe is not responsive by default. Video is loaded as iframe. We can use custom CSS to tweak the height on different screen side. Please try adding the following code on Appearance > Customize > Custom > Edit Global CSS:

    @media (max-width: 480px){
    .postid-112 iframe.cp-youtube-frame,
    .postid-112 .cp-modal,
    .postid-113 iframe.cp-youtube-frame,
    .postid-113 .cp-modal  {
        max-height: 271px !important;
    }
    }
    @media (max-width: 700px){
    .postid-112 iframe.cp-youtube-frame,
    .postid-112 .cp-modal,
    .postid-113 iframe.cp-youtube-frame,
    .postid-113 .cp-modal {
        max-height: 2801px !important;
    }
    }

    Do you have any reason why you chose convertplug in displaying video? We can use default X theme video element. You might want to try that and compare.

    Hope this helps.

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