Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #267274
    carbagby
    Participant

    I am adding a video to my homepage that opens as a lightbox. From the static thumbnail, you can’t tell it’s a video to play so I want to add a hovering and responsive play button. I tried to add an icon, but that didn’t work. Any suggestions??

    need a play button

    #267535
    Friech
    Moderator

    Hi There,

    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.

    Cheers!

    #267643
    carbagby
    Participant
    #267644
    carbagby
    Participant
    #267797
    Rad
    Moderator

    Hi there,

    Please add this css at your child theme’s style.css (not customizer)

    a.x-video-icon {
    position: relative;
    }
    a.x-video-icon:before {
    content: "\f01d";
    position: absolute;
    font-family: "FontAwesome";
    font-size: 150px;
    top: 10%;
    left: 38%;
    color: rgba(255, 255, 255, 0.5);
    }
    a.x-video-icon:hover:before {
    color: rgba(255, 255, 255, 1);
    }
    

    Then add x-video-icon at your image shortcode’s class attribute/option.

    Eg. [image class="x-video-icon"]

    Hope this helps.

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