capitalize first letter
-
hello I have some difficulties with capitalizing script.
I manage to capitalize the first letter with:
p:first-letter {
float: left;
font-size: 200%;
font-weight: bold;
color: black;
}But it’s not exactly what I want. I want it to only apply in the third paragraph, below the byline, which goes by the script:
p:nth-of-type(2)
How do I combine this? A capital first letter only in the third paragraph.
Thanks in advance.
The blog I need help with is: (visible only to logged in users)
-
-
Hi there,
have you tried this?
p:nth-of-type(3)::first-letter { float: left; font-size: 200%; font-weight: bold; color: black; } -
-
- The topic ‘capitalize first letter’ is closed to new replies.