Jump to content

How to get "Product title" and "Price title" on a single line on shop page store - Desktop

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 9/9/2022 at 11:42 AM, Rjafadi said:

Site URL: https://www.prsnlhb.com/view-all

Hi Everyone,

Is there a way to move the price to the right side and on the same line? 

Screenshot 2022-09-09 at 05.40.05.png

#1. Add this to Design > Custom CSS

/* title price same line list page */
.ProductList-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#2. With individual products, add this to Last Line in Code Injection > Footer

<script>
  $(document).ready(function() { 
		$('.view-item section.ProductItem-details .product-price').appendTo('h1.ProductItem-details-title');
	});
</script>
<style>
  h1.ProductItem-details-title .product-price {
    float: right;
}
</style>

 

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.