Change post font (only, not site wide) using customized CSS
-
How can I change only/just the post font (not site wide) using customized CSS?
I thought it was theme specific but it doesn’t seem so:
http://premium-themes.forums.wordpress.com/topic/change-post-font-only-not-site-wide-using-customized-css?replies=6#post-40846Please advise.
The blog I need help with is: (visible only to logged in users)
-
Hi noticiasmicrojuris,
I read that other post from the link that you provided above and that Andrea had responded to, but am wondering whether or not you want to use a different font ONLY FOR ONE POST versus to ALL POSTS?
If it’s only to a specific post, technically, you can use a bit of inline CSS to get the job done. Here’s an example of how you would add a style to affect only a specific post. From the editor – Text and not Visual, you can wrap your post with something like this:
<p style="font-family:Times;color:white;margin-left:20px;">This is a paragraph within a specific post.</p>See if this support document helps: Styling Individual Posts and Pages.
-
-
Ah I see. I just wanted to confirm. If that is the case, Andrea’s solution should work, but she did suggest using a standard font, rather than using the Google Font API. There are some considerations using the Google Font API, including how the fonts render depending on the browser you are viewing the results in. This Google Font API document explains some of the technical considerations: Google Fonts API Technical Considerations.
Sorry I couldn’t help you any further, but good luck to you!
Martin
-
-
By the way, I thought I’d mention that in viewing your posts using Firefox, I see that at least a couple of Google fonts are rendered appropriately: Droid Sans and Oswald.
- The topic ‘Change post font (only, not site wide) using customized CSS’ is closed to new replies.