Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #50023
    vidyaekta
    Member

    Hi Sakin.
    I am trying to make a video background landing page where I can collect customers emails in a subscription form.

    I wrote this piece of code, but dont know where to insert it. Could you please guide how to make this page as home page cum landing page.
    My website – goaholidays.ektamedicaltravel.com

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset=”UTF-8″>
    <title>video background</title>
    <style>
    body{ margin:0px; }
    #bgvid{
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    }

    #content{ position:absolute; top:0px; padding:30px; color:=fff; text-shadow:=000 2px 2px }
    #vid_container{ height:320; overflow:hidden; }
    </style>

    </head>
    <body>
    <div id=”vid_container”>
    <video id=”bgvid” src=”C:\….\My Videos\sunriseSL.mp4″ autoplay=”true” loop=”true” muted=”true”>
    </video>
    <div id=”content”>
    <h1 style=”color: #ffffff; text-align: justify;”>Goa Holidays at an affordable

    price</h1>
    <h3>Conact us 24/7 helpline +44 7896336443</h3>
    </div>
    </body>
    </html>

    Thanks in advance for support.

    #50028
    Sakin
    Keymaster

    @vidyaekta: Sorry this is not the part of theme. You can search for plugin to add this functionality or you might need to hire developer to work on adding the custom template. For this case, you need to build child theme and then create page template and add those code in that page template.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Landing page (custom page template)’ is closed to new replies.