Support » Fixing WordPress » Remove/Change home page video

  • Resolved bluelinesports


    The homepage on our website has an embedded YouTube video that showcases some of our products, but we need to change it as the product has now been replaced with a new one. I can’t work out where the video is in the back-end of the website – there’s no video widget on the site, and no HTML (or anything else) in the visual editor. The video has also not been uploaded to the media library. We don’t have any plugins for video either (as far as I can tell)

    The website was created for us by a third party so my knowledge of plugins and coding etc. is rudimentary at best.


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

Viewing 6 replies - 1 through 6 (of 6 total)
  • It’s hard to tell but if it’s not in the page or in a widget, it’s possible it’s hard coded into the theme, check the front-page.php in appearance > theme-editor. Look for <div class="home-video">

    @garethgillman Thanks for responding so quickly, I think you’re right, but I can’t find the code. There are no results when I search for <div class=”home-video”> but if I just search for video there are several lines of code, including a few .video-hidden iframe { lines.

    I assume these must be relevant to the particular video I need to change as there aren’t any other videos on the home page.

    <div class=”home-video”> does appear when I View Page Source, if that helps.


    Can you post the code here and I will see if I can help in changing it.

    Thank you! I think this is the relevant code

    .video {
    float: left;
    width: 33.3%;
    margin-bottom: 2em;
    .video .inner {
    width: 96%;
    padding: 0 2%;
    cursor: pointer;
    text-align: center;
    .video .inner img {
    display: block;
    .video p {
    padding: 0 10px;
    .video-hidden iframe {
    width: 800px;
    height: 500px;

    That’s the CSS (or styling), in front-page.php there should hopefully be some video code?

    We only have a homepage.php, but it’s in there and I’ve changed it! Thank you so much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.