ArtificialVisions Posted June 11 Posted June 11 I've managed to change the header fonts with a OTF font I've uploaded called PPTelegraf-UltraBold.otf But I can't work out how to change a newsletter title font. I've used: .newsletter-block .newsletter-form-header-title { font-family: 'PPTelegraf-UltraBold.otf' !important; } .newsletter-form .newsletter-form-field-element { font-family: 'PPTelegraf-UltraBold.otf' !important; } input.newsletter-form-field-element.field-element::placeholder { font-family: 'PPTelegraf-UltraBold.otf' !important; } span.newsletter-form-button-label { font-family: 'PPTelegraf-UltraBold.otf' !important; } But it hasn't worked.
Lesum Posted June 11 Posted June 11 @ArtificialVisions Can you please share your site URL? If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee?
MayaViolet Posted June 12 Posted June 12 21 hours ago, ArtificialVisions said: I've managed to change the header fonts with a OTF font I've uploaded called PPTelegraf-UltraBold.otf But I can't work out how to change a newsletter title font. I've used: .newsletter-block .newsletter-form-header-title { font-family: 'PPTelegraf-UltraBold.otf' !important; } .newsletter-form .newsletter-form-field-element { font-family: 'PPTelegraf-UltraBold.otf' !important; } input.newsletter-form-field-element.field-element::placeholder { font-family: 'PPTelegraf-UltraBold.otf' !important; } span.newsletter-form-button-label { font-family: 'PPTelegraf-UltraBold.otf' !important; } But it hasn't worked. Hi @ArtificialVisions - i believe it's because you're incorrectly referencing the font-family name, but it depends on how you installed it, and what you named it. As Lesum says, please share with us the link so we can inspect your site code to give you and acurate answer!
ArtificialVisions Posted June 24 Author Posted June 24 Apologies I didn't get a notification for your response, here are the details 😄 choucaircapital.squarespace.com Dinosaur452
Lesum Posted June 24 Posted June 24 @ArtificialVisions Hi! You named your font 'FontTitle'. You can add the following code: .newsletter-block h2.newsletter-form-header-title { font-family: 'FontTitle' !important; } If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee?
ArtificialVisions Posted June 24 Author Posted June 24 You are a genius! haha, Thank you so much Lesum 😄
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment