Home › Forums › Support › Sections have padding despite 0px This topic has 6 replies, 3 voices, and was last updated 7 years, 1 month ago by Tom. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts March 13, 2017 at 3:51 am #290653 Bebe Sections on the homepage have top padding despite being set at 0px http://absolutewebdesigns.co/casey/ How to remove this? March 13, 2017 at 6:23 am #290709 LeoStaff Customer Support Hi there, I think that might be causing by the syntax error in your code. I see this: <div class="class=" col-md-12" "> before this picture: http://absolutewebdesigns.co/casey/wp-content/uploads/2017/03/Garden-Fairy.jpg Try fixing that and see if it fixes the problem? March 13, 2017 at 6:55 am #290730 Bebe Fixed that, but it’s still showing a space. March 13, 2017 at 7:00 am #290732 LeoStaff Customer Support Try this: div#generate-section-4 p { margin: 0; } March 13, 2017 at 8:43 am #290784 Bebe Nope. And that will also screw up all the section 4 containers throughout the site, not just this one. March 13, 2017 at 8:46 am #290785 LeoStaff Customer Support Do you have an empty space/paragraph inserted in that section? I don’t think that space should be there in the first place. Otherwise you can target just that page like this: .page-id-10 div#generate-section-4 p { margin: 0; } March 13, 2017 at 10:11 am #290822 TomLead Developer Lead Developer If you have a shortcode in that section, it may be the shortcode adding the empty paragraph tag. To add to Leo’s CSS, you can target empty p tags only: .page-id-10 div#generate-section-4 p:empty { margin: 0; } Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In