I'm currently working on a template for my website and facing an issue with removing the margin displayed on the right side of my div using flex. I've tried setting the margin to 0 on one of the columns and also experimented with changing the column sizes (md-4 and 3), but the problem persists.
Does anyone have any suggestions on how I can make the white div stop at the end of the text?
Here's a snippet of my code:
<div class="container-fluid block_product" style="background:#fff;width: 50%;margin-left: 60px; /* Override Bootstrap's default margin */padding: 0px; /* Override Bootstrap's default padding */">
<div class="row" style="margin-right: 0 !important; margin-left: 0 !important;">
<div class="col-md-4 services-products" style="padding: 0;">
<div class="col d-flex align-items-center justify-content-center">
<div><img class="lazyload " src="//bewens.myshopify.com/cdn/shop/files/anissa_kermiche_reine_14_karat_gold_diamond_and_pearl_earring_1_large.jpg?v=1713833565"></div>
</div>
</div>
<div class="col-md-5">
<div class="text-left">
<div class="home-section-1-product-col-2">
<p class="home-section-1-product-title-1">title one</p>
<p class="home-section-1-product-title-2">
</p><p>Our devoted clients have noticed </p>
</div>
<div class="home-section-1-product-price">
<p class="home-section-1-product-price-h2">
99.00 IN
</p>
</div>
<p class="section-1-product-strike text-center" style="margin-bottom: 0 !important;">
ANKUBA-TU <strike> 130.00 IN
</strike></p>
<div class="d-grid gap-2"><button class="py-md-3-custom btn btn-primary py-md-3 px-md-5 me-3 " style="margin-bottom: 10px !important;">Découvrez </button></div>
</div>
</div>
</div>
</div>