Need to embed YT Video in Wordpress

6 replies
Hello, I need to embed a youtube video into a wordpress theme. I don't need it in the post or page but in the actual layout. Anyone have any suggestions?

I am using the eproduct template and need the video where the software box is on the picture.



At the risk of sounding totally stupid, everything I have found says that I need to add to my html pages. However all I have is .php and .css :confused:
any help would be greatly appreciated.
#embed #video #wordpress
  • Profile picture of the author DominicF
    Hi, I think you will need to edit your WordPress theme to do this.

    I'm not sure what files you have in your theme, but I suspect you will need to edit the index.php or maybe there is a custom template file for your home page? Anyway, it looks like you need to find out which file is referring to the 'images/dummy/blue_product1.png' image and replace it with your YT embedding script.

    Hope this helps.
    {{ DiscussionBoard.errors[3525129].message }}
    • Profile picture of the author tonicemarketing
      Thanks, I finally got it on the page, however it is not lining up correctly. It is aligned too far to the right.
      {{ DiscussionBoard.errors[3525139].message }}
  • Profile picture of the author 19thws
    can you post the link, so I or/and others can check it out?
    Signature
    Folio: www.19thwebstudio.com
    Email: sales @ 19thwebstudio.com
    {{ DiscussionBoard.errors[3525357].message }}
  • Profile picture of the author 19thws
    open the stylesheet and look for

    Code:
    .productrays {
    position:absolute;
    right:-85px; - change/adjust right:-45px; or to lower/higher value, which ever fits best on your template 
    top:0;
    width:470px;
    height:334px;
    padding:40px 0 0 100px; -change to padding:40px 0 0 0;
    }
    Signature
    Folio: www.19thwebstudio.com
    Email: sales @ 19thwebstudio.com
    {{ DiscussionBoard.errors[3525460].message }}

Trending Topics