NicoB Posted April 21, 2022 Share Posted April 21, 2022 (edited) Site URL: https://nicobaumann.com/ Hey there! I'm trying to use different fonts or font styles in a single portfolio page title. I.e. "Facebook" and "Skate Nation Ghana" in the first row would use different fonts, or one part would be bold or italic while the other isn't. Is that possible? Thank you! Nico Edited April 21, 2022 by NicoB double website Link to comment
Beyondspace Posted April 21, 2022 Share Posted April 21, 2022 22 minutes ago, NicoB said: Site URL: https://nicobaumann.com/ Hey there! I'm trying to use different fonts or font styles in a single portfolio page title. I.e. "Facebook" and "Skate Nation Ghana" in the first row would use different fonts, or one part would be bold or italic while the other isn't. Is that possible? Thank you! Nico Try #collection-62564707136c1779158d3090 .portfolio-hover-items-list > li:first-child span { color: red; font-family: Arial; } #collection-62564707136c1779158d3090 .portfolio-hover-items-list > li:nth-child(2) span { color: blue; font-family: tahoma; } Let me know how it works on your site BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted April 21, 2022 Share Posted April 21, 2022 My testing BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
NicoB Posted April 21, 2022 Author Share Posted April 21, 2022 Thank you! That's a great start. I'd love to know if is this also possible in a single line? Basically, giving the bit in the yellow circle a different color/font/font style. Link to comment
NicoB Posted April 22, 2022 Author Share Posted April 22, 2022 Hi, I'm politely bumping this thread back up to see if anyone has a solution for this problem. Thank you in advance! Nico Link to comment
tuanphan Posted April 24, 2022 Share Posted April 24, 2022 On 4/23/2022 at 1:28 AM, NicoB said: Hi, I'm politely bumping this thread back up to see if anyone has a solution for this problem. Thank you in advance! Nico Add to Design > Custom CSS a.portfolio-hover-item[href="/work/facebook"] span:before { content: "FACEBOOK "; font-size: calc(~"(1.4 - 1) * 1.2vw + 1rem"); } a.portfolio-hover-item[href="/work/facebook"] span:after { content: "skate nation ghana"; color: yellow; font-size: 20px; font-size: calc(~"(1.4 - 1) * 1.2vw + 1rem"); } a.portfolio-hover-item[href="/work/facebook"] span { font-size: 0; } 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
NicoB Posted May 2, 2022 Author Share Posted May 2, 2022 That fixed it! Thank you so much! 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