Katie88 Posted March 8, 2023 Posted March 8, 2023 (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, 2023 by Katie88
Ziggy Posted March 8, 2023 Posted March 8, 2023 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 Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Katie88 Posted March 9, 2023 Author Posted March 9, 2023 @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?
Solution Ziggy Posted March 9, 2023 Solution Posted March 9, 2023 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 Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
AirleaEvary Posted November 6, 2023 Posted November 6, 2023 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
tuanphan Posted November 8, 2023 Posted November 8, 2023 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
AirleaEvary Posted November 8, 2023 Posted November 8, 2023 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!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment