jcadima
9/28/2016 - 2:09 PM

Show Image on hover, hide current image

Show Image on hover, hide current image


<div class="imageBox">  
	<div class="imageMain"><img src="<?php the_field('car_image') ;  ?>"></div>
	<div class="showme"><img src="<?php the_field('car_image_hover') ; ?>"></div>			
</div>  


<style>
.showme{   
	display: none;      
}

.imageBox:hover .showme{ 
	display : block;
}

.imageBox:hover .imageMain{
	display : none;
}
  
</style>