Support » Theme: Edin » How to replace the front image by an autoplay video in Edin Theme

  • Hello,

    I want to replace the front image in a page or post, by an autoplay video in mute, like for example, this site: http://corporate.gimage.es/?gclid=EAIaIQobChMIvuGVt4Kw2QIVQ50bCh3IUweaEAAYASAAEgKZ7vD_BwE

    I have the Edin Theme.

    I have tried the plug-in “Featured Video” but as it is not actualized with the new WordPress version, it is not useful. It’s a pity because I think that was the solution.

    I have tried the plug-in “Elementor” but it insert the video into the image. The video does not take the dimension of the image space, it is smaller.

    Could you help me please ?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    This would require a Child Theme and then some knowledge of php scripting although the video could be inserted into the Child Theme header.php file directly with HTML, but this would mean that every time you wanted to change out the video, you would need to edit that file again and change the URL of the video.

    If that doesn’t sound like something you would want to tackle, there are a couple of free themes that offer video header support which you can see here.

    I also did a search here at WordPress.org for themes with header video and came up with this list. Not sure if they all support header video or not.

    https://wordpress.org/themes/search/header%20video/

    • This reply was modified 1 year, 7 months ago by  sacredpath.

    Hello,

    Thanks a lot for your answer @sacredpath

    I have the child theme created. I have Atom (that is a program to see html language I think.
    Could you tell me how to put a video instead of the front image in a page or a post please? Or is it too difficult for a beginner like me.. hope not

    Thanks for your help

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi @belindab, I’m seeing a autoplay Youtube video on your main page right now, and it looks like you are using Elementor. If you wish the video to be full width, you might want to try this custom CSS and see what you think.

    .home .hero .hentry {
    	width: 100%;
    }
    .elementor-column-gap-wider > .elementor-row > .elementor-column > .elementor-element-populated {
    	padding-left: 0 !important;
    	padding-right: 0 !important;
    	padding-top: 20px !important;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to replace the front image by an autoplay video in Edin Theme’ is closed to new replies.