Katie88 Posted March 8 Share Posted March 8 (edited) Hey there, I uploaded a custom font for my headings, and it is working everywhere but store item titles. I spoke to someone at Squarespace who confirmed to me that yes, the titles should be responding to the code, given that they are set to the Heading font, and I designated the custom font to h1, h2, h3, and h4 (something I already knew, but thanks for letting me know I'm not crazy). He found me someone with the same problem who was also in these forums. His issue was fixed by adding "!important." However, this did not do it for me. Does anyone else know what the problem could be? This is the code I'm using (I separated h1, h2...etc. because when I had them in the same line, it didn't work for some reason). @font-face { font-family: 'Gelica'; src: url('https://static1.squarespace.com/static/63d0a4028281d32321b29957/t/63d1bc90718f3f6f648f8e89/1674689680983/gelica-regular-webfont.woff'); } h1 {font-family: 'Gelica' !important;} h2 {font-family: 'Gelica' !important;} h3 {font-family: 'Gelica' !important;} h4 {font-family: 'Gelica' !important;} I've watched several different tutorials from people who write this code slightly differently; some people have spaces, some don't. Some include the semicolon, some don't. None of that helped. Thanks in advance to anyone who may be able to help. Site: https://bronze-magnolia-btmh.squarespace.com/ Password: March Edited March 8 by Katie88 Link to comment
Ziggy Posted March 8 Share Posted March 8 Add this to Custom CSS: .collection-type-products .grid-title {font-family: 'Gelica' !important;} Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Katie88 Posted March 9 Author Share Posted March 9 @Ziggy thank you so much! That worked, but the item prices (also in heading) are still in the wrong font. How do I target this? Link to comment
Solution Ziggy Posted March 9 Solution Share Posted March 9 Replace the previous with this: .collection-type-products .grid-title, .collection-content-wrapper .grid-prices, .collection-content-wrapper .grid-meta-status { font-family: 'Gelica' !important; } Can you mark my post as the solution if that helped you? Thanks! Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
AirleaEvary Posted November 6 Share Posted November 6 Hello, I would like to expand on this topic. I used the code above and it helped change the product titles and prices to the correct font BUT the Add to Cart buttons and Product Categories are still the default font. Is there extra code needed to change these? site - oriole-green-5e8s.squarespace.com password Artist2023 Link to comment
tuanphan Posted November 8 Share Posted November 8 On 11/6/2023 at 10:11 PM, AirleaEvary said: Hello, I would like to expand on this topic. I used the code above and it helped change the product titles and prices to the correct font BUT the Add to Cart buttons and Product Categories are still the default font. Is there extra code needed to change these? site - oriole-green-5e8s.squarespace.com password Artist2023 Use this code /* Category product */ .products.collection-content-wrapper .nested-category-tree-wrapper .category-link { font-family: 'MrsEavesOT-Roman' !important; } /* add to cart */ .sqs-add-to-cart-button-inner { font-family: 'MrsEavesOT-Roman' !important; } 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
AirleaEvary Posted November 8 Share Posted November 8 9 hours ago, tuanphan said: Use this code /* Category product */ .products.collection-content-wrapper .nested-category-tree-wrapper .category-link { font-family: 'MrsEavesOT-Roman' !important; } /* add to cart */ .sqs-add-to-cart-button-inner { font-family: 'MrsEavesOT-Roman' !important; } Thanks this worked perfectly! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment