noodles22 Posted March 8, 2023 Share Posted March 8, 2023 Hi! I upload some font files on my website and injected some code into the custom CSS, but it's not loading. I can only see the custom code when I'm editing a page and have the custom CSS box open. I'm trying to use : Manrope-Regular for the paragraphs and navigation links Manrope-Bold for h1, h2, and h3, content buttons, form buttons, form titles, the header button, and form buttons, Parkside-Regular for h4. I couldn't figure out how to change the fonts for the header button and the blogs. Here are the codes I have injected: @font-face { font-family: 'Manrope-Regular'; src: url(https://static1.squarespace.com/static/5fadc9a2270b006044c1dba7/t/6407cdf710fd3678b23ddcb4/1678233079794/Manrope-Regular.ttf); } p {font-family: 'Manrope-Regular'; text-transform: none; letter-spacing: .90px;} .header-nav-item a, .header-menu-nav-item a {font-family: 'Manrope-Regular'; text-transform: uppercase; letter-spacing: 1.8px;} .form-wrapper .field-list .field .caption {font-family: 'Manrope-Regular' !important; text-transform: none; letter-spacing: 1.8px;} @font-face { font-family: 'Manrope-Bold'; src: url(https://static1.squarespace.com/static/5fadc9a2270b006044c1dba7/t/6407ce0010fd3678b23ddcfd/1678233088402/Manrope-Bold.ttf); } h1 {font-family: 'Manrope-Bold'; text-transform: Uppercase; letter-spacing: 2.4px;} h2 {font-family: 'Manrope-Bold'; text-transform: Uppercase; letter-spacing: 2.4px;} h3 {font-family: 'Manrope-Bold'; text-transform: Uppercase; letter-spacing: 2.4px;} a.btn.btn--border.theme-btn--primary-inverse {font-family: 'Manrope-Bold'; text-transform: Uppercase; letter-spacing: 2.4px;} button {font-family: 'Manrope-Bold'; text-transform: Uppercase; letter-spacing: 2.4px;} .form-wrapper .field-list .title {font-family: 'Manrope-Bold'; text-transform: Uppercase; letter-spacing: 2.4px;} @font-face { font-family: 'Parkside-Regular'; src: url(https://static1.squarespace.com/static/5fadc9a2270b006044c1dba7/t/6407ced4a475ea7efe782f49/1678233300352/parkside-regular.otf); } h4 {font-family: 'Parkside-Regular'; text-transform: none; letter-spacing: 0px;} Website: https://www.jimssupply.com PurpleGrapes1959 Link to comment
Beyondspace Posted March 9, 2023 Share Posted March 9, 2023 6 hours ago, noodles22 said: Hi! I upload some font files on my website and injected some code into the custom CSS, but it's not loading. I can only see the custom code when I'm editing a page and have the custom CSS box open. I'm trying to use : Manrope-Regular for the paragraphs and navigation links Manrope-Bold for h1, h2, and h3, content buttons, form buttons, form titles, the header button, and form buttons, Parkside-Regular for h4. I couldn't figure out how to change the fonts for the header button and the blogs. Here are the codes I have injected: @font-face { font-family: 'Manrope-Regular'; src: url(https://static1.squarespace.com/static/5fadc9a2270b006044c1dba7/t/6407cdf710fd3678b23ddcb4/1678233079794/Manrope-Regular.ttf); } p {font-family: 'Manrope-Regular'; text-transform: none; letter-spacing: .90px;} .header-nav-item a, .header-menu-nav-item a {font-family: 'Manrope-Regular'; text-transform: uppercase; letter-spacing: 1.8px;} .form-wrapper .field-list .field .caption {font-family: 'Manrope-Regular' !important; text-transform: none; letter-spacing: 1.8px;} @font-face { font-family: 'Manrope-Bold'; src: url(https://static1.squarespace.com/static/5fadc9a2270b006044c1dba7/t/6407ce0010fd3678b23ddcfd/1678233088402/Manrope-Bold.ttf); } h1 {font-family: 'Manrope-Bold'; text-transform: Uppercase; letter-spacing: 2.4px;} h2 {font-family: 'Manrope-Bold'; text-transform: Uppercase; letter-spacing: 2.4px;} h3 {font-family: 'Manrope-Bold'; text-transform: Uppercase; letter-spacing: 2.4px;} a.btn.btn--border.theme-btn--primary-inverse {font-family: 'Manrope-Bold'; text-transform: Uppercase; letter-spacing: 2.4px;} button {font-family: 'Manrope-Bold'; text-transform: Uppercase; letter-spacing: 2.4px;} .form-wrapper .field-list .title {font-family: 'Manrope-Bold'; text-transform: Uppercase; letter-spacing: 2.4px;} @font-face { font-family: 'Parkside-Regular'; src: url(https://static1.squarespace.com/static/5fadc9a2270b006044c1dba7/t/6407ced4a475ea7efe782f49/1678233300352/parkside-regular.otf); } h4 {font-family: 'Parkside-Regular'; text-transform: none; letter-spacing: 0px;} Website: https://www.jimssupply.com PurpleGrapes1959 You can try adding !important to the code you are using to set font BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted March 9, 2023 Share Posted March 9, 2023 For example rajeshabnani29 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
noodles22 Posted March 9, 2023 Author Share Posted March 9, 2023 (edited) Thank you! I'm still having the issue. Sometimes it loads, sometimes it doesn't. 😩 Edited March 9, 2023 by noodles22 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