Jump to content

Move price next to product title

Recommended Posts

Add to Last Line in Code Injection > Footer

<script>
  $(document).ready(function() { 
		$('.ProductItem-product-price span.sqs-money-native').appendTo('h1.ProductItem-details-title');
	});
</script>
<style>
  h1.ProductItem-details-title .sqs-money-native {
    float: right;
}
</style>

image.thumb.png.fb0ac365d05d0f6749c4935cf5fc0b0d.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 5/29/2021 at 8:43 PM, jdillagodzilla said:

Thanks @tuanphan 👍

wondering if you know how to now format the sale price. Ideally would love to have the original in black with a strike through.

example: https://www.shopuhhuh.com/shop/p/formation-09-rock-2 

Add to Design > Custom CSS

/* original price */
h1.ProductItem-details-title>span:last-child {
    color: black !important;
    text-decoration: line-through;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.