SK96 Posted August 15, 2020 Share Posted August 15, 2020 Site URL: https://www.sean-kirkpatrick.com/ Hello. I've worked out how to change the font to a custom font using Custom CSS from this video https://www.youtube.com/watch?reload=9&v=4WsiwqQluZc This does work. However, I'm not sure how to do the same and apply the custom font to the header and footer of the site? Any suggestions Link to comment
tuanphan Posted August 17, 2020 Share Posted August 17, 2020 Add to Home > Design > Custom CSS header#header *, footer.sections * { font-family: HELVETICA-NEUE-ULTRA-LIGHT; } 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
SK96 Posted August 17, 2020 Author Share Posted August 17, 2020 Amazing - thanks so much. It worked straight away! Link to comment
SK96 Posted August 17, 2020 Author Share Posted August 17, 2020 Sorry - do you also know how to do it on the overlay of a portfolio grid? So when you hover over a project and it comes up with the title? Link to comment
tuanphan Posted August 17, 2020 Share Posted August 17, 2020 h3.portfolio-title { font-family: HELVETICA-NEUE-ULTRA-LIGH !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
SK96 Posted August 17, 2020 Author Share Posted August 17, 2020 Amazing. Thanks so much. I've now got a custom font applied consistently all over my site. Link to comment
SK96 Posted August 17, 2020 Author Share Posted August 17, 2020 How did you work that out? Out of interest Link to comment
SK96 Posted August 17, 2020 Author Share Posted August 17, 2020 Sorry - last one I promise. I've just realised the buttons at the bottom of each case study are in the old font. I tried to use that last bit of code and called them 'navigation buttons' - but it didn't really work Link to comment
tuanphan Posted August 18, 2020 Share Posted August 18, 2020 h2.item-pagination-title { font-family: 'HELVETICA-NEUE-ULTRA-LIGHT' !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
SK96 Posted August 25, 2020 Author Share Posted August 25, 2020 Thanks for all your help so far - so this is all the coding I have: //---Custom Fonts--- h1, h2, h3, h4, h5, p, {font-family:HELVETICA-NEUE-ULTRA-LIGHT} //---Font Upload--- @font-face { font-family: 'HELVETICA-NEUE-ULTRA-LIGHT'; src: url('https://static1.squarespace.com/static/5ebc269b813e022c41f87bff/t/5f39053c62c23339b57450c4/1597572413829/FontsFree-Net-HelveticaNeueUltraLight+%281%29.ttf'); } header#header *, footer.sections * { font-family: HELVETICA-NEUE-ULTRA-LIGHT; } h3.portfolio-title { font-family: HELVETICA-NEUE-ULTRA-LIGHT !important; } h2.item-pagination-title { font-family: 'HELVETICA-NEUE-ULTRA-LIGHT' !important; } I just wanted to work out how I make sure this is Arial when Helvetica is not available - say someone who isn't on a Mac? Link to comment
tuanphan Posted August 28, 2020 Share Posted August 28, 2020 font-family: font1, font2; eg font-family: monospace, Arial; 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
SK96 Posted August 28, 2020 Author Share Posted August 28, 2020 Hmmm, when I do it like this - it just changes the font back to how I had it before - the Squarespace one //---Custom Fonts--- font-family: 'HELVETICA-NEUE-ULTRA-LIGHT', 'Arial'; h1, h2, h3, h4, h5, p, {font-family:HELVETICA-NEUE-ULTRA-LIGHT} //---Font Upload--- @font-face { font-family: 'HELVETICA-NEUE-ULTRA-LIGHT'; src: url('https://static1.squarespace.com/static/5ebc269b813e022c41f87bff/t/5f39053c62c23339b57450c4/1597572413829/FontsFree-Net-HelveticaNeueUltraLight+%281%29.ttf'); } header#header *, footer.sections * { font-family: HELVETICA-NEUE-ULTRA-LIGHT; } Link to comment
tuanphan Posted August 29, 2020 Share Posted August 29, 2020 h1, h2, h3 {font-family: your-custom-font-name, Arial;} 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.