capitalize first letter
-
Hello previously I have the problem here. https://en.forums.wordpress.com/topic/capitalize-first-letter?replies=5#post-2154172. It’s solved.
But a new problem emerge as I change the the first paragraf to (1). It capitalize the first letter in quotation and sidebar widget while I just want to caps it in the first paragraph of the content.
Look forward for your help.
Many thanks.The blog I need help with is remehtemeh.com.
The blog I need help with is: (visible only to logged in users)
-
Hi, the reason for this is that inside of a blockquote are paragraphs, so the the rule you are using for the to style the first letter will also get applied to those. The following will take care of that issue with blockquotes.
blockquote p:nth-of-type(3)::first-letter { color: inherit; float: inherit; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; padding-left: inherit; padding-right: inherit; padding-top: inherit; } -
Add the above rule at the very end of your existing CSS, or at the very least after the other rule.
- The topic ‘capitalize first letter’ is closed to new replies.
