Remove or Reduce Padding Under Image

I don’t know if it’s the bottom image padding or the top text padding, but the main logo in the first content section of my website has a large gap between our Logo Image and our First Text area and i’d like to halve the distance between them.

I tried adding a custom class to the text portion with on-page CSS, but that didn’t work.

.no-pad p {
margin-top: 0;
}

ANy advice?

Jesse - vitalitycbd.com

Hi Jesse,

Thank you for writing in, you hard-coded that headline (USDA Certified Organic CBD Oils) so you need to add your class to that <h1> itself.

<h1 class="mtn"><span style="color: #ffffff; font-size: 32px;">USDA Certified Organic CBD Oils</span></h1>

The remaining space is a bottom margin of the image element (logo), you can apply a class mbn to your image element if you want to get rid of that margin as well.

CSS Class Index

Hope it helps,
Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.