Crispylogs Posted March 24, 2014 Share Posted March 24, 2014 The URL is http://crispylogs.com/writing-high-quality-posts-to-increase-traffic-top-20-tips/ I am trying to add an effect, like a magazine's "drop-cap," but it's not working for me, and I don't know why. The following is the CSS code I have used: .single .entry p:first-child:first-letter { float: left;color: #903; font-size: 47px;line-height: 40px;padding-top: 0px;padding-right: 8px;padding-left: 3px;font-family: Georgia; } Quote Link to comment https://forums.phpfreaks.com/topic/287241-pfirst-childfirst-letter-not-working-in-wordpress/ Share on other sites More sharing options...
Frank P Posted May 12, 2014 Share Posted May 12, 2014 That shouldn't be a matter of Wordpress, but of correct CSS and browser support. I don't like Wordpress, but this is likely to be caused by the author or the browser. Quote Link to comment https://forums.phpfreaks.com/topic/287241-pfirst-childfirst-letter-not-working-in-wordpress/#findComment-1479267 Share on other sites More sharing options...
cyberRobot Posted May 14, 2014 Share Posted May 14, 2014 It looks like the first paragraph tag within the "entry" div tag on your page contains an image. If this paragraph tag contained text, the effect should work. Quote Link to comment https://forums.phpfreaks.com/topic/287241-pfirst-childfirst-letter-not-working-in-wordpress/#findComment-1479441 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.