DradinaDarkbloom Posted May 23 Posted May 23 Hi everyone, I'm trying to upload a webfont to my 7.1 site. I know where to upload the CSS and that whole process. This is the part I don't understand and do I create an unlinked page to add all the files? Where do I put this? Any help greatly appreciated! I'm learning!!! (from myfonts.com) Quote Upload the contents of the Kit to your server. This is typically done using some type of FTP program — the same way that you upload images and other files to your website. Typically it is easiest if you upload all the files and folders to the root folder of your site. You can alternately create a subfolder (or use an existing one) and put the Kit there, put them wherever you want. Be sure to make note of the location you'll need it in step two. Note: You do not need to upload the StartHere.html file or the Start_here_files folder. 2. Edit your site Include a reference to the Kit. Locate the MyWebfontsKit.css file in the Kit’s main folder. You should place a reference to this file in the head section of your website’s HTML code. Make sure that the reference appears on all HTML pages of your site. This will link the webfonts from the Kit to your website. If you uploaded the Kit to the root folder of your site, then you can just copy and paste the code below into your site's head. If you uploaded the Kit to a subfolder, you’ll need to adjust the path to the font files in the MyWebfontsKit.css file.
Websley Posted May 24 Posted May 24 (edited) Go to website -> pages -> website tools -> and then click custom css From there you can click the down arrow next to custom files and then just upload the file there. @font-face { font-family: 'enter-font-name-here'; src: url(enter-font-url-here); } h1{ font-family: 'enter-font-name-here'; font-size: 35pt; letter-spacing: 3px; line-height: 100%;} To make it simple, you just click on the font you uploaded to get the url in the custom css. I hope this helps. You can play around with font size, spacing, and line-height to get the desired look. Edited May 24 by Websley
Ziggy Posted May 24 Posted May 24 8 hours ago, Websley said: line-height: 100%}; You have the semi-colon and curly bracket the wrong way around. Websley 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment