• 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

This Article Has Been Shared 856 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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

  • Twitter Bootstrap Guide For Newbies

    Twitter Bootstrap guide is written in a way, so that the basic users can use Free Twitter Bootstrap Source Code and use customize for own website design.

  • Guide to Image in CSS to Base64 Data URI Encoding

    Guide to image in CSS to Base64 Data URI encoding shows you how to change from background image CSS to data to reduce page loading time.

  • Typekit and Web Fonts

    Typekit allows to embed fonts into online documents through CSS to render perfect looking fonts. With Retina display, quality of rendering becoming a factor.

  • HTML5, WordPress and Cloud : What We Learnt From Redesign

    HTML5, WordPress and Cloud – with new redesign,not complete yet at the time of publishing this post we learnt important points with this old blog with 5K posts.

  • CSS3 Webkit Blink Animation

    We can use CSS3 Webkit blink animation to emphasize a phrase or sentence to draw attention or can use on pure CSS logo. No Javascript needed.

Additionally, 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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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 (21K Followers)
  • Twitter (5.3k 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

  • How to Build a DIY Water Level Indicator? April 16, 2021
  • How Startups Can Convince the Investors April 14, 2021
  • What to Know About the Cloud Storage Services for Smartphones April 13, 2021
  • WonderFox HD Video Converter Factory Pro Review April 10, 2021
  • What is the Maximum Cable Length Between Arduino/ESP32 and a Sensor April 8, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Drop Caps in WordPress Without Plugin," in The Customize Windows, September 13, 2014, April 17, 2021, https://thecustomizewindows.com/2014/09/drop-caps-in-wordpress-without-plugin/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

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

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