Jump to content

Customising product titles on grid page

Recommended Posts

Site URL: https://www.vine.lu/en/shop

Hello! I would need help customising the size and colour of the second line of my product title. I was able to do this on the product detail page but not on the main shop grid.

I tried using the below in the general custom CSS section but it doesn't have any effect on the site 😞 :

I have the feeling the solution is pretty easy but I need some help getting there ☺️

.products.collection-content-wrapper .grid-main-meta .grid-title {
  font-size:12px;
  line-height: 1.8em;
  font-family: europa;
  color: #363636;
}
.products.collection-content-wrapper .grid-main-meta .grid-title:first-line {
  font-size:18px;
  font-family: europa;
  color: #000000;
}

 

Screenshot 2021-05-04 at 23.06.07.png

Edited by cmancuso
better example photo
Link to comment

Use this code

.products.collection-content-wrapper .grid-main-meta .grid-title, h1.ProductList-title {
  font-size:12px;
  line-height: 1.8em;
  font-family: europa;
  color: #363636;
}
.products.collection-content-wrapper .grid-main-meta .grid-title:first-line, h1.ProductList-title:first-line {
  font-size:18px;
  font-family: europa;
  color: #000000;
}

 

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

Thank you so much! This worked perfectly-- a tip that may help beginners like me:

the style of the text on the second line is decided by the Site Style settings- the code allows you to edit the style of the first line. 😉

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.