I want to set up [Custom Content] of thumbnails-slider.html as a looping slider.

1 reply·opened Dec 4, 2023
S
SemiColonWebSTAFFDec 6, 2023

Hello,

Thanks for your Super Kind Patience!

Consider using this code:

<div class="owl-carousel carousel-widget mb-6" data-items-xs="2" data-items-sm="3" data-items-lg="4" data-loop="true">
	<div class="oc-item">
		<div class="card">
			<img class="card-img-top w-100 h-auto" data-src="holder.js/300x200" alt="Card image cap">
			<div class="card-body">
				<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
				<a href="#" class="btn btn-primary">Go somewhere</a>
			</div>
		</div>
	</div>
	<div class="oc-item">
		<div class="card">
			<img class="card-img-top w-100 h-auto" data-src="holder.js/300x200" alt="Card image cap">
			<div class="card-body">
				<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
				<a href="#" class="btn btn-primary">Go somewhere</a>
			</div>
		</div>
	</div>
	<div class="oc-item">
		<div class="card">
			<img class="card-img-top w-100 h-auto" data-src="holder.js/300x200" alt="Card image cap">
			<div class="card-body">
				<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
				<a href="#" class="btn btn-primary">Go somewhere</a>
			</div>
		</div>
	</div>
	<div class="oc-item">
		<div class="card">
			<img class="card-img-top w-100 h-auto" data-src="holder.js/300x200" alt="Card image cap">
			<div class="card-body">
				<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
				<a href="#" class="btn btn-primary">Go somewhere</a>
			</div>
		</div>
	</div>
	<div class="oc-item">
		<div class="card">
			<img class="card-img-top w-100 h-auto" data-src="holder.js/300x200" alt="Card image cap">
			<div class="card-body">
				<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
				<a href="#" class="btn btn-primary">Go somewhere</a>
			</div>
		</div>
	</div>
</div>

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard