Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1428388

    Hi,

    ►could you explain (or give a custom code to use) why I’m getting this white strip when I chose the Column Box-Shadow for my video? You can see it here.
    And another even worse example, here.

    ►And another question: how can create this double button that you show off on your main page? I can’t see it in Content Elements. Is there any trick?

    Access details in the private content.

    Merci

    #1428481

    Hey Anton,

    Thank you for the inquiry.

    Adding this css code should remove the space below the video.

    .su-youtube.su-u-responsive-media-yes {
        margin-bottom: 0;
    }

    The double button on the official site is not available by default, but here is the markup in case you want to use it on your own site.

    HTML:

    
    <div class="avia-double-buttons "><a href="https://site.at/themes/enfold-overview/" class="avia-double-button avia-double-button-1">View Demos</a><span class="button_or">or</span><a href="https://1.site.market/" class="avia-double-button avia-double-button-2">Purchase Now</a></div>
    

    CSS:

    
    #top .avia-double-button {
        letter-spacing: 1px;
        padding: 13px 20px;
        text-transform: uppercase;
        font-size: 13px;
        text-align: center;
        min-width: 175px;
        display: inline-block;
        transition: all 0.4s ease-in-out;
        -moz-transition: all 0.4s ease-in-out;
        -webkit-transition: all 0.4s ease-in-out;
        -o-transition: all 0.4s ease-in-out;
        border: 4px solid #fff;
        text-decoration: none;
    }
    
    #top div .main_color .avia-double-button {
        border-color: #e1e1e1;
        background: #fcfcfc;
        color: #222222;
    }
    
    #top #wrap_all .avia-slide-wrap .avia-double-button, #top #wrap_all .avia-hover-fx .avia-double-button {
        background: #000;
        background: rgba(0,0,0,0.2);
        border-color: #fff;
        color: #fff;
        padding-bottom: 11px;
        text-decoration: none;
    }
    
    #top .avia-double-button-2 {
        border-top-right-radius: 100px;
        border-bottom-right-radius: 100px;
        border-left: none;
    }
    
    #top .avia-double-button-1 {
        border-top-left-radius: 100px;
        border-bottom-left-radius: 100px;
        border-right-width: 2px;
    }
    
    .avia-double-buttons {
        margin-top: 30px;
        text-align: center;
        position: relative;
    }
    
    #top .button_or {
        position: absolute;
        display: block;
        height: 26px;
        line-height: 21px;
        width: 26px;
        text-align: center;
        top: 50%;
        left: 50%;
        margin: -13px 0 0 -14px;
        background: #fff;
        color: #666;
        border-radius: 100px;
        font-size: 10px;
        border: 2px solid #FFF;
        font-style: italic;
        font-weight: 600;
        z-index: 11;
    }
    

    Best regards,
    Ismael

    #1428528

    Hi Ismael,

    unfortunately, this is not about bottom margin. I added your code and even tried it with “margin 0”, But that doesn’t solve the problem.
    Check this out here

    Any other ideas ?

    #1428544

    Hi,

    Thank you for the update.

    The issue occurs because the second column inherits the height of the first column, but the video doesn’t adjust accordingly because it has to retain its aspect ratio. Instead of applying the box shadow to the column, we could apply the style directly to the text block or the video inside it. Please disable the box shadow settings, then try adding this css code.

    .av-7gxq-b49600b1340770d5ee80faa3053f02f6 .av_textblock_section {
        box-shadow: 0 0 30px 0 #000000;
    }

    Best regards,
    Ismael

    #1428624

    Hi,

    this solution doesn’t work either. I followed your instructions and put the code in the text block, so the shadow just disappears.

    The only way I’ve found to make this margins disappear is this code:

    /*White strip top/below the videos in shadowed AVIA columns*/
    .su-u-responsive-media-yes {position: inherit  !important;}

    But it still leaves a micro white line on mobile phones, as you can see here
    Can you resolve it?

    #1428642

    Hi,

    I followed your instructions and put the code in the text block,

    The css code above should be added in the Enfold > General Styling > Quick CSS field or in the child theme’s style.css file, not in the Custom CSS Class field.

    Best regards,
    Ismael

    #1428672

    Well,
    I put your code it in the Enfold > General Styling > Quick CSS field or in the child theme’s style.css file, but the result remains the same. Nothing changes. 🤷‍♂️

    So, can you now please help with what I mentioned in my previous request?

    #1428716

    Hi,

    We can’t see the micro white line or border when we checked the site. Please refer to the screenshot below.

    Screenshot: https://1drv.ms/i/s!AjjTfXSRbKTvgs1v7e3iH1EqJevsRA?e=Sabave

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.