Archived topic
DropCap
3 replies · Started by Nico on December 29, 2021
Good morning!
Our "old" page has a turquoise drop cap for selected posts at the beginning of the article.
This was selectively inserted manually in the editor using:
<span class = "mh-dropcap"> D </span> er
See also the example link.
Does GP also offer the option to selectively set DropCaps with a snippet in the editor (important: not particularly selective across the board for each post)?
Thank you very much for your feedback
Nick
Hi there,
you can add this CSS:
.mh-dropcap {
float: left;
position: relative;
font-size: 80px;
font-size: 5rem;
font-weight: 600;
line-height: 0.8;
color: #e64946;
top: 0;
margin-right: 6px;
margin-right: 0.375rem;
text-transform: uppercase;
color: #00a1b7;
}
This will add your current drop cap style to all posts with that SPAN HTML you have used.
Ok David, THAT is definitely the best hack to date. That saves me a lot of time. I was already prepared to change everything by hand.
I'm excited. Thnx for that.
You're welcome!