Okay
  Public Ticket #1968470
Problem with a padding-top: 56.25%; that I don\'t want on a video box.
Closed

Comments

  • NoahBe started the conversation

    Hello,

    I'm having a problem with the padding-top of a video box in this page :

    http://noeberdoz.ch/portfolio/publicite-tournage/

    I don't know why, but the class wpb_video_wrapper is giving me a padding-top that I don't want...

    .wpb_video_widget.vc_video-aspect-ratio-169 .wpb_video_wrapper {
        padding-top: 56.25%;
    }
    

    I've search in the salient editor if I have put this padding-top by mistake, but it is not the case.

    I've try to modify it in the CSS doing something like :

    .wpb_video_widget.vc_video-aspect-ratio-169 .wpb_video_wrapper {
        padding-top: -56.25%;
    }
    /* I also tried this */
    .wpb_video_widget.vc_video-aspect-ratio-169 .wpb_video_wrapper {
        padding-top: 0 !important;
    }
    

    But still, it's not working.

    By the way, I don't have this problem with the other video boxes on my website.

    Thank you in advance for you help <3

    All the best, Noah

  •  8,995
    Tahir replied

    Hey Again,

    Could you turn off the Caching and Minification Plugin so i can check from where the css is coming from. 

    Best


    ThemeNectar Support Team 

  • NoahBe replied

    Hello Tahir,

    Thank you for your help,

    I have disabled the plugin that was doing this, it should be okay for you now.

    Best regards

  •  8,995
    Tahir replied

    You seem to be using a FB Video which is causing the issue. The Video Page Element only takes youtube or vimeo links. 

    Best 


    ThemeNectar Support Team