ErinReilly Posted February 4, 2020 Share Posted February 4, 2020 Hi, I am trying to change the font on my entire website to a requested font by a client. However, I have looked up on . here how to do this and nothing seems to be working. I uploaded the font to the managed custom files and then copy and pasted what someone else recommended and nothing seems to be changing the font! I am new to css coding so not sure how to fix. @font-face { font-family: 'SpecialElite'; src: url('SpecialElitehttps://static1.squarespace.com/static/5e34f211ccdf2069316b2c65/t/5e389cb943b2a6137cb5d2a7/1580768441796/SpecialElite.ttf '); font-weight: normal; font-style: normal; } .has-site-title .Header-branding { font-family: "SpecialElite"; } #header h1.site-title { font-family: "SpecialElite";} Link to comment
tuanphan Posted February 4, 2020 Share Posted February 4, 2020 the code doesn't work, because class name incorrect font url is invalid. SpecialElitehttps://static1.squarespace.com/static/5e34f211ccdf2069316b2c65/t/5e389cb943b2a6137cb5d2a7/1580768441796/SpecialElite.ttf ... 😂 Can you share link to your site? In case you want to change all elements on site to custom font, use this css @font-face { font-family: 'SpecialElite'; src: url('https://static1.squarespace.com/static/5e34f211ccdf2069316b2c65/t/5e389cb943b2a6137cb5d2a7/1580768441796/SpecialElite.ttf'); } * { font-family: 'SpecialElite' !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!) Link to comment
ErinReilly Posted February 5, 2020 Author Share Posted February 5, 2020 omg that code string worked!! THANK YOU!!!! Link to comment
Guest Posted February 20, 2020 Share Posted February 20, 2020 @tuanphanThanks so much for this, been looking for days for a custom code that worked for changing the entire font for my site!!!! You're the best Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.