Adding a Google Font Style to my site
kgphotos
Registered Users Posts: 106 Major grins
I've read a few forum posts, but can't figure this out. I would like to use the Lora font Italic style as my Logo text. The problem is that I can't call it out in the Logo box as my only choices are Normal 400 and Bold. How can I get the Lora Italics style for my logo text? I am not that familiar with font codes, so if someone could pull the @font-face codes that I need, how to call it out in my logo and where to put it- I am going to say the Theme CSS, I would appreciate it.
My site: www.imaginelivecapture.com
Thank you!
Karen
0
Comments
I'm using Lora Italic Bold on my headers. Just add this to your theme's CSS:
If you just want to use regular italic, use this instead:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Hi @Hikin' Mike ,
Thank you for giving me the code. I am using Safari on a Mac and I tried pulling the codes via the User Agent. But I guess I copied to much code or not enough. Anyways, I put the code you gave me in the theme's CSS and it didn't work. Do I have to call it out via CSS in the entire site?
Thank you, Mike
-Karen
I put my CSS in my theme's site-wide CSS and it works.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
@Hikin' Mike
Got it to work! Had to use the !important word to call it out. BTW, is it ok to use that? I've read conflicting info on this. I have a bunch of !important on my site. The help desk has used them in my CSS.
Sorry about that. I first type in the CSS in Notepad++ and copy that code into Firebug's Web Tools. It didn't work and I had to use the
!important
. Just forgot to add that when I replied here.Generally you don't need that. By prefixing
.sm-user-ui
to most CSS you don't have to use the!important
tag. Sometimes not.Glad it's working!
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk