• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Highlight, add pressed effects to certain words in your WordPress blog

By Abhishek Ghosh March 26, 2011 8:15 pm Updated on October 17, 2014

Highlight, add pressed effects to certain words in your WordPress blog

Advertisement

Just after publication of the previous post; one of our Tweeter follower asked, how we have highlighted certain words in that post. Actually, it is very easy, no big knowledge of coding or even installation of plugin is required.

In order to highlight and add effects to certain words in your WordPress blog in WordPress, just follow these easy steps. We will use span style to indicate the browser that this part of text has given special CSS treatment.

 

Highlighting the text using CSS

 

Firstly, you need a good (and free of course) software that gives you the hex value of the color you need. As we always say, colorpic is best software for this purpose. So, you got the hex value of the color you need. For example, the hex value of the blue sidebar in the right side of this page is #E9EEF3.

Advertisement

---

To highlight a text, write it ; then go to HTML mode in WordPress writing panel. Say you want to highlight black (that is the usual text color you are using; if you want to use white text on black background, this code will not affect your other things; it will simply highlight the text with specified color) text with that blue color. For example, the text is “I want to highlight the text in WordPress.”

You have to write in this manner (in HTML mode!) :

 

&lt;span style="background:<span style="color: #ff0000;">#E9EEF3</span>"&gt;I want to highlight the text in Wordpress.&lt;/span&gt;

 

The red colored hex value is determinant of what color you want. The output of the above will be like this:

 

I want to highlight the text in WordPress.

 

CSS effects to certain words

 

Obviously, you can add colored text inside that highlighted text. It can be done by selecting the part of the text and using text color from text editor (normal mode) in WordPress. Formatting as bold, italics font can be done in the same manner. This is an example:

 

Highlight, add pressed effects to certain words in WordPress

I want to highlighted the text in WordPress.

Now, if you want more advanced effects; like pressed text effect to certain texts; using a different font, changing the font size, converting to uppercase (for mass editing), add margin, padding etc; you can do it too. Below is an example where we have formated the text to these following effects:

 

I want to highlight the text in WordPress.

We used this thing (really big, but we will explain) instead of only background: #E9EEF3; inside the quotation marks:

background-color: #e9eef3; font-color: #000000 font-size; font-family: Arial,Tahoma,Verdana; font-weight: bold; text-shadow: #fff 1px 1px; text-transform: uppercase; margin: 0 0 5px 0; padding: 0;"

Explanation:

 

  • background-color: #e9eef3; Nothing to explain, instead of background, we have used “background-color”.
  • font-color: #000000;This defines the color of the font. #000000 is black.
  • font-family: Arial,Tahoma,Verdana;This defines the font family.
  • font-weight: bold; Self explanatory, we made it bold.
  • text-shadow: #fff 1px 1px; We gave the pressed text effect using white color (#FFFFFF= #fff = White) of 1 pixel.
  • <span style="color: #ff0000;">text-transform: uppercase; margin: 0 0 5px 0; padding: 0;</span> : We think you have understood the things! We made it uppercase, with 5px margin on the left side and no padding.

 

This is it, these are basically very easy.

 

Signature
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Highlight, add pressed effects to certain words in your WordPress blog

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • OpenShift OctoPress Auto install Script

    OpenShift OctoPress Auto install Script is an Advanced Script to Run OctoPress on Free OpenShift PaaS Practically Without Any Knowing Ruby or Git.

  • Checklist to choose a perfect WordPress theme

    We are providing a thorough detailed checklist those are need to be checked, before selecting a Wordpress theme.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Comments

  1. Avatarfree sms says

    April 15, 2011 at 11:40 pm

    Admirable writing. Undoubtedly you are an expert of such writing topics. This is absolutely the first time I went through your post and frankly speaking it has made me visit here now and then.And yes i have book mark your site thecustomizewindows.com .

  2. AbhishekAbhishek says

    April 16, 2011 at 2:52 pm

    Thank you for your kind words. You will get fresh things everyday here :)

  3. AvatarRicky1990 says

    December 7, 2012 at 6:35 am

    Hi,
    I am finding a wordpress plugin which helps me to convert a keyword to a image. For example: i have keyword “Rapidshare” in many posts, i want “Rapidshare” keyword will display as Rapidshare logo image. Please help me to do…

    Thanks so much !

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What is Hardware Security Module (HSM)September 30, 2023
  • Transducer Technologies of HeadphonesSeptember 28, 2023
  • What is Analog-to-Digital Converter (ADC)September 27, 2023
  • Comparison of Tube Amplifiers and SemiconductorsSeptember 26, 2023
  • What is a Digital-to-Analog Converter (DAC)September 25, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy