Support › Forums › White – HTML Template › How to add gallery images. › Reply To: How to add gallery images.
September 21, 2016 at 9:45 pm
#5492
Keymaster
Hi Dakota,
if you want to add a gallery item you have to add the next code within the gallery section:
<div class="item photo">
<img class="css3Animate" src="http://placehold.it/800x440&text=Gallery" alt="" />
<div class="item-content css3Animate">
<a href="http://placehold.it/800x440&text=Image" class="css3Animate portfolio-gallery" title="">
<h4 class="css3Animate">GALLERY EXAMPLE</h4>
<p class="css3Animate">The awesome project description</p>
</a>
</div>
</div>
In the first image element you have to set up the image, video or work page you want to load in the attribute href.
Remember to set up the correct class value. I mean, for an image is the class portfolio-popup, for a video is the class portfolio-youtube or portfolio-vimeo, and for add a gallery element is the class portfolio-gallery.
Regards