CMS Development

developer2
Member | Diamond Partner
Member | Diamond Partner

Adding HTML to Image Gallery

Hi,

I am using a copy of Image Gallery module and want to add some wrappers around the image itself and also to have Caption first and then the image. Right now it looks like:

 

<div class="slick-slide-inner-wrapper">
	<img alt="machine1" title="machine1" class="" style="opacity: 1;" src="https://cdn2.hubspot.net/hubfs/4228839/machine1.png">
	<div class="caption superimpose">
		<span><h2>Slide 1</h2></span>
	</div>
</div>

I would like something like:

<div class="slick-slide-inner-wrapper">
	<div class="my-class">
		<div class="caption superimpose">
			<span><h2>Slide 1</h2></span>
		</div>
		<div class="my-other-class">
			<img alt="machine1" title="machine1" class="" style="opacity: 1;" src="https://cdn2.hubspot.net/hubfs/4228839/machine1.png">
		</div>
	</div>
</div>

Is this possible?

0 Upvotes
1 Reply 1
jennysowyrda
Community Manager
Community Manager

Adding HTML to Image Gallery

Hi @developer2,

 

Are you still looking for assistance with this? 

 

If so, do you mind providing links and screenshots of what you currently have and what your end goal is?

 

Thank you,
Jenny

0 Upvotes