The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Bonus points for being a ‘Padding-Margin Crusher-Ninja” Re: Bonus points for being a ‘Padding-Margin Crusher-Ninja”


@Crssp, I think the link you had earlier is the ticket.


I don’t really make much use of shortcodes so I don’t have much experience..

I think your `:first-child` option could be a possibility too. The only problem is the pages that _don’t_ have a shortcode would be affected too. You could always add a body `.home` for this page, then target the shortcode using `.home .entry-content p:first-child { margin: 0 }`

That would definitely be a hack-y solution though..