Attalie Posted November 2, 2021 Share Posted November 2, 2021 Site URL: https://www.attaliemusic.com/music Hi there, I've customed all my fonts, but I'd like for two words to not be using the customised font but say sans source pro. How can I change the font of just 2 words? Also, other question, on my contact page can anyone provide the code to just have the first sentence letter in capital and not all words in capitalize? https://www.attaliemusic.com/contact Link to comment
KwameAndCo Posted November 2, 2021 Share Posted November 2, 2021 1 hour ago, Attalie said: I've customed all my fonts, but I'd like for two words to not be using the customised font but say sans source pro. How can I change the font of just 2 words? You need to be more specific as it depends on where the words are. The easiest way is to set the words to bold and italic at the same time. This will wrap them in <strong> and <em> tags. Then target the block they're in and add css - for example: #blockid p strong em { font-family: "FONTNAME"; font-style: normal; font-weight: normal; } Potentially using !important as an override. The above is for regular Paragraph text; you may need to use h1, h2 or h3 etc. Work With Me 🖥️💻📱 Please remember to tag me so that I get a notification and respond to your help requests. If my answers have helped you, please drop a like and mark my answer as best to help other users find solutions quickly. You can also thank me or make requests by buying me a coffee ☕. (Caffeine fuels me to take more requests) For Squarespace Tips & Tricks, visit @squareskills (Youtube 📺 Tutorials) For Premium and FREE plugins, visit Squareskills (Plugin Store) 🧩 For Custom Plugins email me 🧩 Link to comment
Attalie Posted November 2, 2021 Author Share Posted November 2, 2021 Thank you! the words are BLK JKS under picture that's on the left side, in the bottom paragraph. Itried the code but does not seem to work Link to comment
tuanphan Posted November 6, 2021 Share Posted November 6, 2021 On 11/3/2021 at 2:27 AM, Attalie said: Thank you! the words are BLK JKS under picture that's on the left side, in the bottom paragraph. Itried the code but does not seem to work Do you still need help? 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!) 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