All things Shopify and commerce
I'd like to use Custom CSS to modify the product name font when shown in the cart/slider. I thought main-cart-items would work, but I'm struggling. Thank you!
Solved! Go to the solution
This is an accepted solution.
Hi @SamsLav,
Could you please share your Store URL and password (if applicable) so that I can review it and provide you with the appropriate solution code?
Looking forward to your response.
Thanks!
This is an accepted solution.
Hi @SamsLav, you can follow these steps:
Step 1: Open Online Store -> Themes -> Edit code
Step 2: Find component-cart-items.css file
Step 3: Paste this code at the bottom of the file
.cart-item__name {
font-family: "Poppins", sans-serif !important; //Replace with your taste
}
Result:
If this helpful, please let us know by giving us a like and marking it as a solution. Thanks
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
It worked! Thank you so much!
Thank you again! Do you know how I'd change the font for the "Estimated Total" area of the cart? I used entered this in the css for the page:
h2 {
font-family: "Playfair Display", sans-serif !important;
}
It works when the cart is a page, but not when I choose to have a drawer. Any suggestions?
Thank you!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025