byharriet Posted March 6, 2021 Share Posted March 6, 2021 h4 { font-family: 'rollerscript-smooth'; font-weight: 400; line-height: 1.3em; letter-spacing: .3em; } This is the code I'm using, it's changing everything apart from the font itself. Any suggestions gratefully received. Many thanks Link to comment
paul2009 Posted March 6, 2021 Share Posted March 6, 2021 5 hours ago, byharriet said: Trying to add a different font in H4:h4 { font-family: 'rollerscript-smooth'} This will only work if you have already loaded a font with the name "rollerscript-smooth" on this site. If you haven't done this, the CSS will not know where to find the specified font family. For future reference, it will help us if you include a working link to the site when you post questions. This enables us to view the code that the site is using. byharriet 1 About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
byharriet Posted March 8, 2021 Author Share Posted March 8, 2021 Thank you Paul. I ended up making Rollerscript-smooth (a preloaded font) as the default and then using code to default in H1, H2 and H3 in Libre Baskerville. I know this is the wrong way in theory but it worked, or atleast I thought so. On further inspection the H1, H2 and H3 fonts are displaying as something else entirely. Site https://elk-beagle-34wl.squarespace.com/ (password test) Any suggestions? Link to comment
tuanphan Posted March 18, 2021 Share Posted March 18, 2021 On 3/8/2021 at 6:44 PM, byharriet said: Thank you Paul. I ended up making Rollerscript-smooth (a preloaded font) as the default and then using code to default in H1, H2 and H3 in Libre Baskerville. I know this is the wrong way in theory but it worked, or atleast I thought so. On further inspection the H1, H2 and H3 fonts are displaying as something else entirely. Site https://elk-beagle-34wl.squarespace.com/ (password test) Any suggestions? Hi. Do you still need help on this? 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
alexavisho Posted March 18, 2021 Share Posted March 18, 2021 I'm having the same issue! my custom font seems to work for everything except h4? the price is h4 and remains in times. Does this have something to do with it being in a store? Link to comment
tuanphan Posted March 22, 2021 Share Posted March 22, 2021 (edited) On 3/19/2021 at 6:50 AM, alexavisho said: I'm having the same issue! my custom font seems to work for everything except h4? the price is h4 and remains in times. Does this have something to do with it being in a store? try replace h4 with h4 * or h4 *, h4 Edited March 22, 2021 by tuanphan 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment