My apologies for my English skills...
Could anyone advise me on how to display an image?
Hello, I am looking for a way to have a small window open on my site when a user clicks on the zoom icon, where I can describe a product. Any guidance on the HTML code required for this image would be appreciated.
<div class="container-fluid">
<div class="row">
<div class="col">
<div class="product-grid">
<div class="product-image">
<a class="link" href="/bags_backpacks/window/purple_double_strap_backpack.php">
<img alt="" class="image" src="photo/111.jpg">
</a>
</div>
<div class="product-content">
<a class="links" href="/bags_backpacks/window/purple_double_strap_backpack.php">
<p class="title">Purple Double Strap Backpack</p>
</a>
</div>
<div class="price">$16.00</div>
<div class="div-zoom">
<span class="add-to-cart">Add to Cart</span>
<i class="fa fa-search-plus" style="font-size: 94%; color: white; background-color: #595959; padding: 3%;"></i>
</div>
</div>
</div>
</div>
CSS code for adding to the cart (Add to Cart in German language...) and clicking on the zoom icon
/* div-zoom-window */
.div-zoom { padding: 2%; padding-top: 15%; text-align: left;}
/* add-to-cart */
.add-to-cart { font-size: 89%; background-color: #bfbfbf; color: #ffffff; padding: 2%; margin-top: 2%; text-align: left;}
.div-zoom i {padding-bottom: 5%; margin-left: 4%; }
I came across this thread where someone mentioned using JQuery for this, but I'm not familiar with it...
If anyone could provide assistance, I would greatly appreciate it. Thank you!