Reply To: Add a youtube video the the site

Support Forums Cian – WP Theme Add a youtube video the the site Reply To: Add a youtube video the the site

#5420
CreaboxThemes
Keymaster

Hi,

it is a conflict with the animations. If you check this option in Firefox or Safari, it works fine. The problem only happens in Chrome.

To resolve it, you can disable the animations in the page Appearance > Theme Options, the second option. Or you can edit the file spotlight-1.php from the Theme editor. You have to go to the page Appearance > Editor and select the file spotlight-1.php (sections/spotlight-1.php). Then, copy the next code and paste it in the editor (from the line 13 to 31):


<!-- ==============================================
	SPOTLIGHT 1
	=============================================== -->
	<section id="spotlight1">
		<div class="container">
			<div class="row">
				<div class="col-md-3 col-sm-5 col-md-offset-1">
					<h3><?php echo vp_metabox('vp_meta_spotlight_1.spotlight_1_sep_group.0.title', false, $sectionPageID); ?></h3>
					<p><?php echo vp_metabox('vp_meta_spotlight_1.spotlight_1_sep_group.0.text', false, $sectionPageID); ?></p>
					<?php if ( vp_metabox('vp_meta_spotlight_1.spotlight_1_sep_group.0.button_link_enable', false, $sectionPageID) == true) {?>
						<a class="btn btn-default spotlight-link" href="<?php echo esc_url(vp_metabox('vp_meta_spotlight_1.spotlight_1_sep_group.0.button_link_url', false, $sectionPageID)) ?>"><?php echo vp_metabox('vp_meta_spotlight_1.spotlight_1_sep_group.0.button_link_text', false, $sectionPageID); ?></a>
					<?php } ?>
				</div> <!-- end spotlight description -->
				<figure class="col-md-7 col-sm-7" >
					<img class="img-responsive spot1-img" src="<?php echo esc_url(vp_metabox('vp_meta_spotlight_1.spotlight_1_sep_group.0.spotlight_1_image', false, $sectionPageID)) ?>" alt="" title="">
				</figure>
			</div> <!-- END ROW -->					
		</div> <!-- END CONTAINER -->
	</section> <!-- END SPOTLIGHT1 SECTION -->

Regards

  • This reply was modified 4 years, 9 months ago by CreaboxThemes.