rmavila Posted August 16, 2023 Share Posted August 16, 2023 Hello, I watched the video to add a custom google font and it is not working for me. I am also getting a expected ')' got ''' red error at the bottom of the css window. Thank you for any help you can give! //ADDING JULIUS FONT// @font-face { font-family: 'JULIUS'; src: url('https://static1.squarespace.com/static/64dbcad2132d637517499564/t/64dcf674c99c81472ecb7fa2/1692202612362/JuliusSansOne-Regular.ttf37517499564/t/64dcf674c99c81472ecb7fa2/1692202612362/JuliusSansOne-Regular.ttf); } //ASSIGN JULIUS FONT// h1 {FONT-FAMILY:JULIUS;} h2 {FONT-FAMILY:JULIUS;} h3 {FONT-FAMILY:JULIUS;} h4 {FONT-FAMILY:JULIUS;} Link to comment
Lesum Posted August 16, 2023 Share Posted August 16, 2023 @rmavila Here's your corrected code. Remove the code added previously and add the code below: @font-face { font-family: 'JULIUS'; src: url('https://static1.squarespace.com/static/64dbcad2132d637517499564/t/64dcf674c99c81472ecb7fa2/1692202612362/JuliusSansOne-Regular.ttf37517499564/t/64dcf674c99c81472ecb7fa2/1692202612362/JuliusSansOne-Regular.ttf'); } //ASSIGN JULIUS FONT// h1 {font-family:'JULIUS';} h2 {font-family:'JULIUS';} h3 {font-family:'JULIUS';} h4 {font-family:'JULIUS';} If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
rmavila Posted August 16, 2023 Author Share Posted August 16, 2023 IT WORKED LESUM!! Thank you SO MUCH! Lesum 1 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