ShootsDraws Posted July 31, 2023 Share Posted July 31, 2023 Hi all, Can anyone help me? I am trying to figure out the code to target my blog's pagination (Previous/Next) titles. I want them to match the Blog title font, which is: font-family: 'BarlowCondensedExtra' I've tried 'Inspecting' the page to pick out the correct code, but nothing has worked so far. Any help would be much appreciated. Cheers! Link to comment
ShootsDraws Posted July 31, 2023 Author Share Posted July 31, 2023 Here's a dummy Blog page for your reference: https://www.cargogym.fit/aaron-blog/blog-post-title-one-bnnjx Link to comment
Solution Ziggy Posted July 31, 2023 Solution Share Posted July 31, 2023 Either try this: [data-collection-type^="blog"] .item-pagination-title {font-family: 'BarlowCondensedExtra';} OR h2.item-pagination-title {font-family: 'BarlowCondensedExtra';} ShootsDraws 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com ☕ Did I help? Buy me a coffee? 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) Link to comment
ShootsDraws Posted July 31, 2023 Author Share Posted July 31, 2023 Thanks, but no luck with either of those, Ziggy. I also tried adding !important but it didn't work. Link to comment
Ziggy Posted July 31, 2023 Share Posted July 31, 2023 Did you try leaving the code in the Custom CSS, saving, and refreshing the page? ShootsDraws 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com ☕ Did I help? Buy me a coffee? 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) Link to comment
ShootsDraws Posted July 31, 2023 Author Share Posted July 31, 2023 Oh, you're right! After saving and refreshing, it did display my desired font. Of the two codes you suggested, this is the one that worked: h2.item-pagination-title {font-family: 'BarlowCondensedExtra' !important; } Thanks for your help. 👊 Ziggy 1 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