• Resolved thespann

    (@thespann)


    Hi everyone, I have a WordPress theme called ‘FISHING’ that does not have any support. I am wanting to change the the header image that is set by ‘div’ tags in the header.php file to a mp4 movie file.
    I have tried changing the visual-header.jpg to a visual-header.mp4 file but that didn’t work?

    Please help, I have been stuck on this for a week now ??
    cheers,

    Mark S

    https://www.morningtonfishingcharters.com.au

    <div class=”visual-img”>
    <img src=”<?php bloginfo(‘template_url’); ?>/images/visual-header.jpg” width=”932″ height=”147″ alt=”Mornington Fishing Charters” />
    </div>
    </div>
    <?php if(is_page_template(‘pt-home.php’) && get_field(‘_hv_content’, $curr_page->ID)): ?>
    <div id=”visual”>
    <div class=”text”>
    <?php if(get_field(‘_hv_title’, $curr_page->ID)) echo ‘<h2>’.get_field(‘_hv_title’, $curr_page->ID).'</h2> ‘; ?>
    <?php echo get_field(‘_hv_content’, $curr_page->ID); ?>
    </div>
    <?php if(get_field(‘_hv_image’, $curr_page->ID)) echo wp_get_attachment_image(get_field(‘_hv_image’, $curr_page->ID), ‘home_visual’, 0, array(‘title’=> ”, ‘class’=>’bg’)); ?>
    </div>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How can I change a div class 'jpg' to a 'mp4' video?’ is closed to new replies.