[ad_1]
Hello everybody,
i want to have the very first letter in each post (Theme Builder, so the post type doesn’t have to be specified) bigger and the color pink. I looked up these:
p:first-child:first-letter{style:bold;color:pink;font-size:200%}
p:eq(1):first-letter{style:bold;color:pink;font-size:200%}
but none of them seem to work. Has anybody an idea how to accomplish that? Using only first-letter all first letters (for each paragraph) get higher, which i don’t want.
[ad_2]
[https://developer.mozilla.org/en-US/docs/Web/CSS/::first-letter])
`::first-letter`
It’s probably because your first p isn’t the first child of the parent. Try
p:first-of-type::first-letter