1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Extra category Video format posts don't show featured image or play video overlay

Discussion in 'Free Divi Community Forum' started by Russell Logan, May 24, 2020.

  1. Russell Logan

    Russell Logan New Member

    Hi there, I can't get video format posts to show featured image or play video overlay in Extra blog modules such as in archives or categories. I managed to get it to work in divi theme with help from divi.help, but additional jquery is required in Extra. Example post: http://russelll12.sg-host.com/the-big-names-investing-in-vertical-farming/

    In News category this post appears twice, as featured post and as 1st post on the blog module below featured post. In both cases the overlay video play button doesn't show. In the blog section the featured image also doesn't show. In Archives for May, which is also a blog module (I'm guessing), the featured image doesn't show, and obviously the video play button.

    This is the code that was added to divi theme to get the overlay to show

    Code:
    Log In or Sign Up to view this code.
    Appreciate any assistance.
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Beautifully crafted Divi layout packs for you to kick start your Divi sites:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try the below code instead for Extra:
    Code:
    Log In or Sign Up to view this code.
     
  3. Russell Logan

    Russell Logan New Member

    The new code worked to add the play icon. It has correctly been placed on the featured post, but there are two issues:

    I. In the 'image to the right blog module' (second blog modue below the featured post on http://russelll12.sg-host.com/ ) the instances of the same article have the overlay player icon offset (you can just see it over the post title on the left), so there is an issue with the postitioning of the icon relative to the image container vs blog container.

    2. In the 'image above blog module' below the featured image the featured image which is the image overlay has not been fetched.


    Both issues also show here, maybe better illustrated, http://russelll12.sg-host.com/category/news/ . No featured image and icon positioned wrongly.
     
    1. PRO MEMBER PERKS Divi Login Customizer Plugin - Instantly beautify your Wordpress login page with 6 premade designs:Learn More
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try the below CSS:
    Code:
    Log In or Sign Up to view this code.
    You should refer official Divi support about that: https://www.elegantthemes.com/members-area/help/
     
  5. Russell Logan

    Russell Logan New Member

    Okay the overlay is showing thank you. One issue with the posts list: When I use google inspect the overlay play icon moves out of center at a responsive breakpoint between 780 and 980. http://russelll12.sg-host.com/

    Also in the feature post where you appended the overlay icon, the featured image does not link to the article.



    I have left a message with Elegant. I am surprised I am having these problems with video format posts and that noone else has raised the issue previously. I did have Elegant look at similar problems in the divi theme side of things and that person said the issues weren't caused by a bug. They did not offer a fix.
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Beautifully crafted Divi layout packs for you to kick start your Divi sites:View Demo
  6. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try the below instead:
    Code:
    Log In or Sign Up to view this code.
    The overlay icon is just added for visual purposes. Originally, the featured image doesn't link to the article as well, similar to the Extra theme demo: https://www.elegantthemes.com/preview/Extra/

    This is how Extra built their carousel section & it can't be resolved with CSS / JS.

    You may refer ElegantThemes about it as well & see what they say.
     
  7. Russell Logan

    Russell Logan New Member

    That works for me. Thank you very much for your time.

    Elegant has put in feature requests to their devs, which I understand is their standard response.

    For anyone else going down this track - I'm going back to using gutenberg editor only for video posts in combination with a certain featured video plugin and the css and jquery for posts list shown above. Instead of featured post, I'll try to set up a full width blog module with just one post.

    I was trying to make it work in the divi editor, as I was using post templates for everything.
     
    1. PRO MEMBER PERKS Divi Ultimate Footer Plugin - Custom global Divi footer (20 premade styles) + Revealing footer effect:Learn More