Use Any Web Font Within WordPress Posts With Inline CSS


Use Any Font Within WordPress Posts With Inline CSS by using the resources from Google Fonts. Its easy to use any special fonts like handwritten texts. Just like we have shown how to use Drop Caps like large capital letter like magazine with CSS without actually touching the stle.css file of your theme.

 

Use Any Web Font Within WordPress Posts With Inline CSS : Must to Know

 

We are using inline CSS. Inline CSS is not very good thing for loading. But it is useful in special cases like, this is actually not a website on designing or webdesigning but a website on core technical things like . For coding purposes, those handwritten like texts looks odd. But we might need to add only one webpage / post in WordPress with a special font like handwritten text.

Adding a div style in style.css file in WordPress outweighs the loss – there is no need to carry extra few lines for only one page. This makes theĀ use any Web Font Within WordPress Posts With Inline CSS guide reasonable.

 

Use Any Web Font Within WordPress Posts With Inline CSS

 

 


To avoid this way to use Any Web Font Within WordPress Posts With Inline CSS is only one – using graphical images – not real texts. But Google will not give any value as it can not read the text. Users will unable to copy the text if needed like the above chunk of text like showing various fonts. This is the purpose of this guide on how to use Any Web Font Within WordPress Posts With Inline CSS.

 

How to Use Any Web Font Within WordPress Posts With Inline CSS

 

You are probably aware that Google Fonts has big collection of free fonts. The process to load such fonts are known as WebFont loading. There are several ways to load external fonts, like using JavaScript, Ajax, traditional CSS. this :


Use Any Web Font Within WordPress Posts

 
 
I have used this piece of code in HTML mode in WordPress editing panel :

 

<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Tangerine">
<span style="font-family: 'Tangerine', serif;font-size: 48px;">
Use Any Web Font Within WordPress Posts
</span></link>

 
WordPress, by default will not ‘tolerate’ to use Any Web Font Within WordPress Posts With Inline CSS if you leave HTML mode once ! You have to save and publish in HTML mode.
 
Signature


Incoming search terms:

fonts
0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.
About Abhishek

Abhishek Ghosh is an Orthopedic Surgeon, Inventor with 216 Patents, Current editor of The Customize Windows Media Group. You can follow and know more about Dr. +Abhishek Ghosh on Google Plus and follow on Twitter as @AbhishekCTRL.

Trackbacks

  1. Use Any Web Font Within WordPress Posts With Inline CSS says:

    [...] How to Use Any Web Font Within WordPress Posts With Inline CSS [...]

  2. Use Any Web Font Within WordPress Posts says:

    [...] Use Any Web Font Within WordPress Posts [...]

Speak Your Mind

*