Customizing Text font on a page
kgphotos
Registered Users Posts: 106 Major grins
Hello. On my website, I have an about me page that uses the HTML/CSS text block. I would like to change the body of the font to Roboto Light 300. It's a google font. Right now, it currently defaults to Open Sans which is my default body text font. I went to google fonts and it gave me the code for Roboto to add it to my site….
<link href='http://fonts.googleapis.com/css?family=Roboto:300' rel='stylesheet' type='text/css'>
then it tells me to integrate the font into CSS which is this…
font-family: 'Roboto', sans-serif;
Nothing changes when I do that. I just want the body text changed. Not my header. So the question is..where do I add this stuff? In the HTML box or CSS box and how? Should I add anything else? I don't know much about HTML or CSS so I am going to need step by step instructions. Thanks for your help!
-Karen
<link href='http://fonts.googleapis.com/css?family=Roboto:300' rel='stylesheet' type='text/css'>
then it tells me to integrate the font into CSS which is this…
font-family: 'Roboto', sans-serif;
Nothing changes when I do that. I just want the body text changed. Not my header. So the question is..where do I add this stuff? In the HTML box or CSS box and how? Should I add anything else? I don't know much about HTML or CSS so I am going to need step by step instructions. Thanks for your help!
-Karen
0
Comments
SmugMug Hero & CSS Monkey
https://help.smugmug.com/get-started-with-customization-SkgwJ4rM
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
Thanks Denise! I looked at it and tried it but it never worked. Maybe I am not doing something right. I am a beginner with HTML and CSS.
-Karen
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
Ok thanks Denise!