• Hi all!

    I configuring my childtheme and I want to add a auto video to my header. I am trying to find out how to do this – step-by step (as I am a WordPress beginner). Does anyone how to do this easily? Is there somewhere a good tutorial I can have a look at. I don’t mind copy-paste code somewhere, but I am just not entirley sure where to put it.

    All feedback is welcome. 🙂

    Many thanks,
    Martijn

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Martijn

    It all depends on your theme specifically as to where you’d add any code, your probably find its the header.php file that generates the header part of your site but its not for sure it depend on how your themes developer structured the theme.

    The best way to figure it out it inspect the source your site generates and then look in the template files for unique references ie. a html tag with a specific class or id.

    As for a step by step google auto playing html video, video header tutorial, the coding would be wordpress specific it would just be html.

    Finally the best way is to look at other site theme that do what you want an view their source to see how their doing it, in chrome or firefox you can right click and view element with will bring you the dev tools and let you see exactly which element corresponds with what bit of html.

    Thread Starter martijnincph

    (@martijnincph)

    Thank you very much for your reply. I am using the Moesia theme, so I will ask them where to put the code best.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to create a Video Header | Step-by-step’ is closed to new replies.