Jump to content

[Share] How to change Product Title Text Size on mobile view only

Recommended Posts

Posted

You can use these CSS code (Website Tools > Custom CSS) to change Product Title text size on Mobile View Only.

If code doesn't work, you can send link to product page, I will check again.

#1. Product Title in Product Detail Page

@media screen and (max-width:767px) {
  h1.ProductItem-details-title {
 	 font-size: 18px !important;
  }
}

image.png.1785a5ef4144c1a87af24e683825be6c.png

#2. Product Title in Shop/Category Page

@media screen and (max-width:767px) {
  .products.collection-content-wrapper .grid-main-meta .grid-title {
 	 font-size: 10px !important;
  }
}

#3. Product Title in Cart Page

@media screen and (max-width:767px) {
  a.cart-row-title {
 	 font-size: 10px !important;
  }
}

#4. Product Title in Product Block

@media screen and (max-width:767px) {
  .product-block .productDetails .product-title {
 	 font-size: 10px !important;
  }
}

#5. Product Title in Summary Block

@media screen and (max-width:767px) {
  div.summary-item:has(.summary-price) a.summary-title-link {
 	 font-size: 30px !important;
  }
}

#6. Product Title in Quick View Lightbox

@media screen and (max-width:767px) {
  .sqs-product-quick-view-lightbox .ProductItem-details-title {
  	font-size: 10px !important;
  }
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • Replies 0
  • Views 906
  • 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...

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.