jlaperch Posted March 28 Share Posted March 28 I am trying to import lexan font to my site but getting a syntax error on the @import part(see SS) I follow instructions to a T not sure what is wrong? Link to comment
Solution Jia Posted March 28 Solution Share Posted March 28 23 minutes ago, jlaperch said: I am trying to import lexan font to my site but getting a syntax error on the @import part(see SS) I follow instructions to a T not sure what is wrong? Hi, try removing the '2' after css2 like so: @import url('https://fonts.googleapis.com/css?family=Lexend:wght@100..900&display=swap'); jlaperch 1 Please give this a 👍 if it helps. Make sure to quote me or tag me in your reply, otherwise I won't be notified. www.sevenstars.studio www.instagram.com/sevenstars.studio Link to comment
jlaperch Posted March 28 Author Share Posted March 28 gonna get greedy....how do i apply so it is that font for all my website? Link to comment
Jia Posted March 28 Share Posted March 28 7 hours ago, jlaperch said: gonna get greedy....how do i apply so it is that font for all my website? Hi, you may start with this code, but there will be elements in your website it won't affect, and you'll have to target specifically: h1, h2, h3, h4, p, .sqsrte-large, .sqsrte-small { font-family: "Lexend", sans-serif; } Please give this a 👍 if it helps. Make sure to quote me or tag me in your reply, otherwise I won't be notified. www.sevenstars.studio www.instagram.com/sevenstars.studio 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