Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #527757

    I am trying to match the rounded corners I have on my text modules with my video modules. This is the code I am using for my text modules:

    .page-id-55 .avia_textblock {
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    border: 2px solid ;
    background: rgba(255, 255, 255, 0);
    -webkit-box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.75);
    padding-left: 10px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    }

    Here is the webpage, http://arrowrealtynetwork.com/kansas-city-real-estate-investing/
    There is 1 video module on this page that I need to make rounded.

    I used this code:

    .page-id-55 .avia-video .avia-video-16-9 {
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    border: 2px solid ;
    background: rgba(255, 255, 255, 0);
    -webkit-box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.75);
    padding-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    }

    for the video, but as you can see, it appears the video is overlaying on top of the rounded corners. I want the image to appear like it has rounded edges so it fits in the box.

    Please help.

    #527796

    Hey Chris!

    Try with this code:

    .page-id-55 .avia-video {
        border-radius: 20px;
        overflow: hidden;
        border: 2px solid ;
        background: rgba(255, 255, 255, 0);
        -webkit-box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.75);
        -moz-box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.75);
        box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.75);
    }

    Best regards,
    Josue

    #527799

    That did it! I swear I tried that already but I must have had something off.

    Thanks for your quick response!

    #527821

    You are welcome, glad to help :)

    Regards,
    Josue

    #528788

    OK, after doing a little testing, it appears that we have not completely resolved the issue. When you first load the page, it looks great. However, when you click on one of the videos to play, you can see that there is some sort of overlay that still has square corners instead of rounded corners.

    Any idea how to fix this?

    #528852

    Yeah that’s a known webkit bug, unfortunately there’s little we can do from our end.

    Regards,
    Josue

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