Support Team
posted this
25 December 2018
Hi Christian,
I just want to have the uppercase for the first letter of the post in the blog page and not to all the page including the header ...
You use p:first-letter selector, which selects and styles the first letter of every p element on the page. If you want to style only post you need to use more specific selector, like .u-post-content p:first-letter. It should do the trick, if your text is wrapped in p tag.
...................................................
Sincerely,
Elena
Nicepage Support Team
Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp
Hi Christian,
> I just want to have the uppercase for the first letter of the post in the blog page and not to all the page including the header ...
You use p:first-letter selector, which selects and styles the first letter of **every** p element on the page. If you want to style only post you need to use more specific selector, like .u-post-content p:first-letter. It should do the trick, if your text is wrapped in p tag.
...................................................
Sincerely,
Elena
Nicepage Support Team
Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp
Last edited 25 December 2018 by Support Team