Crumpy Posted May 13 Share Posted May 13 I'm trying to target specific block IDs so I can add a drop capital letter to the first letter of specific paragraphs. This code works fine BEFORE I add the block ID -- it applies the drop cap to ALL paragraphs. So what am I messing up when I add the block ID? //Drop Case Letters - not working when block ID is added// #block-yui_3_17_2_1_1711480533458_360782:first-letter{ font-weight: bolder; display: block; float: left; margin-top: 1rem; margin-bottom: 0rem; margin-right: 3px; font-size: 4rem; } The screenshot below is from the "Joie de Vivre" page. Link to comment
Solution tuanphan Posted May 17 Solution Share Posted May 17 Change this ID #block-yui_3_17_2_1_1711480533458_360782:first-letter to this #block-yui_3_17_2_1_1711480533458_360782 p:first-letter Crumpy 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment