Is it possible to redefine h1, h2, h3 fonts?
sgrotta
Registered Users Posts: 97 Big grins
I want to define some of my headers to be small caps. How do I do that?
0
Comments
Specifically, on pixels.smugmug.com, I want the titles American Hands and Other Projects to be in Small Caps.
http://www.pixels.smugmug.com
http://www.AmHands.com
This will change those titles to
small-caps
:I would add that into your site-wide theme's CSS.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Yay! That worked. Thanks, Mike. Now to find the font that looks most like the one I'm using for my main website.
I really appreciate all your help and advice.
http://www.pixels.smugmug.com
http://www.AmHands.com
Looks like you're using 'Georgia' on your WP site:
* { font-family: Georgia, Times, "Times New Roman", serif;}
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
So I own Georgia and it's on my computer. How do I install it into my SmugMug gallery? thanks!
http://www.pixels.smugmug.com
http://www.AmHands.com
You can look at this to add different fonts here: http://gallery.imagesinthebackcountry.com/Smugmug-customization/Adding-Fonts. Since you are using WordPress too, you can create a directory (folder) called 'fonts' and upload the fonts there.
Since you are using that font on both headings and body you'll need to add this to your CSS
* { font-family: Georgia, Times, "Times New Roman", serif;}
. If that doesn't work try this:Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks, Mike. Two questions...
Since I'm dealing with Georgia which is a very common font, do I still need to add it to a folder and link to the URL as you show in your tutorial? Or can I simply use the above code to define my font as Georgia for the entire SmugMug site.
Also, am I correct that the above code should go into my theme's CSS field? If not, where should I put it?
I appreciate all your help . Best, Sally
http://www.pixels.smugmug.com
http://www.AmHands.com
I'm 99% sure that you really DON'T need to upload the font. It is a common font so most computers should have it loaded. All you'll have to change is this:
To answer your question, it will go with the other custom CSS you've already added, your theme's CSS.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks!
http://www.pixels.smugmug.com
http://www.AmHands.com