Home › Forums › Support › Using drop caps and attribute in the same wordpress block This topic has 3 replies, 2 voices, and was last updated 3 years, 3 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts January 13, 2021 at 6:41 am #1616979 Simon Hi, I’m a html and css newb and trying to get drop caps and the <mark> attribute working inside the same wordpress block. I am trying to get “Here’s what you will get from Simon Portillo Electrician Services:” inside a <mark> attribute. Here is the page it’s on: simonportillo.co.uk Thanks for reading! January 13, 2021 at 6:53 am #1617198 DavidStaff Customer Support Hi there, try this for your CSS: P.drop-cap::first-letter { font-size: 4.5em; line-height: 1; float: left; padding-right: 0.125em; } The important part is the line-height property. For the <mark> you would need to switch the editor to code view, and the HTML for that text block would be something like this: <p class="drop-cap">Beginning of paragraph with the drop cap, followed by the <mark>text within the mark element</mark></p> January 13, 2021 at 7:08 am #1617230 Simon Hi David, Thank you so much !!! That is working exactly as intended! Best wishes Simon January 13, 2021 at 7:14 am #1617242 DavidStaff Customer Support Glad to hear that! Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In