Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Product Price alignment after "from" been removed


Recommended Posts

Site URL: https://vassaralamps.com

Hello,

Could You, please, advice, how to align price after I had removed the "from" before? Thank You!

 

Web: vassaralamps.com / Lampas2021

 

Code I used to remove "À partir de"  (from in french..)>

 

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
  $(document).ready(function() {  
        $("#productDetails .product-price").html(function() { 
          return $(this).html().replace("À partir de", "");  
    });
    });
</script>

 

CSS >

 

.product-price {
    visibility: hidden;
}
.product-price * {
    visibility: visible;
    position: absolute;
    margin-left: -50px;
}

 

price mix match 2.png

price mix mach.png

Link to comment
  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...