goodchance Posted June 5 Posted June 5 (edited) I'd like to edit the font to 'Hammersmith One' on just one of my website pages. I'd like to keep the same style, colour, etc. otherwise but would love some advice on how to amend just 1 page. Thank you! https://www.goodchance.org.uk/ Specific webpage - https://www.goodchance.org.uk/fromhereon Edited June 5 by goodchance
Beyondspace Posted June 5 Posted June 5 1 hour ago, goodchance said: I'd like to edit the font to 'Hammersmith One' on just one of my website pages. I'd like to keep the same style, colour, etc. otherwise but would love some advice on how to amend just 1 page. Thank you! https://www.goodchance.org.uk/ Specific webpage - https://www.goodchance.org.uk/fromhereon (password: GoodChanceGecko) You can try the following Custom CSS to apply font for only one page #collection-664483bff58a3f118ac44dd2 h1, #collection-664483bff58a3f118ac44dd2 h2, #collection-664483bff58a3f118ac44dd2 h3, #collection-664483bff58a3f118ac44dd2 p { font-family: 'Hammersmith One'; } Let me know how it works on your site BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
goodchance Posted June 5 Author Posted June 5 10 minutes ago, Beyondspace said: You can try the following Custom CSS to apply font for only one page #collection-664483bff58a3f118ac44dd2 h1, #collection-664483bff58a3f118ac44dd2 h2, #collection-664483bff58a3f118ac44dd2 h3, #collection-664483bff58a3f118ac44dd2 p { font-family: 'Hammersmith One'; } Let me know how it works on your site Thank you for responding! There seems to be a change, but not to the right font. Link here: https://fonts.google.com/specimen/Hammersmith+One
Beyondspace Posted June 5 Posted June 5 2 minutes ago, goodchance said: Thank you for responding! There seems to be a change, but not to the right font. Link here: https://fonts.google.com/specimen/Hammersmith+One Install the Google font with @font-face { font-family: 'Hammersmith One'; src: url('https://fonts.googleapis.com/css2?family=Hammersmith+One&display=swap'); } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
goodchance Posted June 5 Author Posted June 5 Thanks again. I tried this code and also tried uploading the font and using that URL but it says theres a syntax error on the @font-face line (see screenshot)
Solution Beyondspace Posted June 5 Solution Posted June 5 (edited) Try this @font-face { font-family: 'Hammersmith One'; src: url('your font url'); } #collection-664483bff58a3f118ac44dd2 h1, #collection-664483bff58a3f118ac44dd2 h2, #collection-664483bff58a3f118ac44dd2 h3, #collection-664483bff58a3f118ac44dd2 p { font-family: 'Hammersmith One'; } Edited June 5 by Beyondspace BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
goodchance Posted June 5 Author Posted June 5 5 minutes ago, Beyondspace said: Try this @font-face { font-family: 'Hammersmith One'; src: url('your font url'); } #collection-664483bff58a3f118ac44dd2 h1, #collection-664483bff58a3f118ac44dd2 h2, #collection-664483bff58a3f118ac44dd2 h3, #collection-664483bff58a3f118ac44dd2 p { font-family: 'Hammersmith One'; } This worked! Thank you so much. Beyondspace 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment