• 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 » Drop Caps in WordPress Without Plugin

By Abhishek Ghosh September 13, 2014 7:19 am Updated on September 13, 2014

Drop Caps in WordPress Without Plugin

Advertisement

Typography matters. While there are many ways to implement Drop Caps, it is possible to use Drop Caps in WordPress without using any plugin. Drop Caps is the larger initial letter effect at the beginning of a word, a chapter, or a paragraph. Without HTML markup, we can add Drop Caps effect in WordPress and even without touching the main CSS file. You can read our Typography related guides like How To Use Any Web Font From Own Hosted Library and Resources and Types of Fonts According to License, the last one has lot of linked articles which are quite helpful.

 

Drop Caps in WordPress Without Plugin?

 

Yes, with inline CSS using ::first-letter selector. First we should know about this first! We can use the following properties with ::first-letter, it actually works even with WebFont as we are creating kind of virtual DOM in HTML5 as if we have wrapped; anyway here are what you can add :

 

  1. Font properties
  2. Font color properties
  3. Font background properties
  4. Margin properties
  5. Padding properties
  6. Border properties
  7. Font Text-decoration
  8. Alignment
  9. Line-height
  10. Float

So, 10 in one without any Plugin, huge chance of doing experiments without any compromise in page speed. What we will use actually falls inside the chapter of structural Pseudo Class and Pseudo Element Selector. Structural pseudo-class is a way to target elements based on the information in the CSS file (read css3). In CSS3 pseudo-classes works with the above to redefine. We are giving you one working example, which we are using right now :

Advertisement

---

This is what we have only used on our webpage with current design. Its a pain to edit the main CSS again, re-upload to CDN, auto-minification might fail, so, not bad to inject it in the comments field as script from backend. There are Themes, Theme Specific Plugins, Header and Footer Plugin in WordPress to help you to insert scripts. It is not that, you have to install a new Plugin, practically most of us uses such Plugin. If you do not use such Plugin, add/edit on main CSS or inject with if_single WordPress conditional function.

Drop Caps in WordPress Without Plugin

 

This is Drop Caps in WordPress Without Plugin? F***king Easy!

 

Yeah, its easy, you can play a lot. If you do not change that .entry-content matching with your theme’s div name, obviously it will not work. This code for Drop Caps in WordPress Without Plugin will work with Genesis Child Themes by default. You only need to adjust according to your Typography. That :nth-of-type(1) ” matches an element

that is the 1st sibling of it’s type – means > First Letter of the First Paragraph of the Webpage. As we will change it to include inside our main CSS to force Proxima Nova‘s a specific sleek style, checking our source code might not work in future. We provided the screenshot of an Article for you.

Tagged With How can we change windows setup background themes , wordpress how to do drop case without a plugin , Drops caps on wordpress , drop caps in wordpress , drop cap wordpress works , drop cap in wordpress 2020 , drop cap in wordpress , Drop cap function in wordpress not working properly , worpress drop caps plugin , create drop cap html in wordpress
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 Drop Caps in WordPress Without Plugin

  • 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.

  • Drop Caps CSS Update : W3C Draft, Oct 2016

    W3C CSS Working Group Has an Updated W3C Draft on Oct 2016 Around Drop Caps CSS For Rules Across Various Devices, Style & Responsiveness.

  • Drop Caps Without HTML Markup With jQuery Plugin or CSS3

    Drop Caps is the larger initial letter effect at the beginning of a word, a chapter, or a paragraph. Without HTML markup, we can add Drop Caps effect.

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

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

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 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