Gap between headline and text

Why am I getting this big gap between my HEADLINE and TEXT. As you can see from the screen shot there is no margins or padding set. Line height is set to 1 as well.

1 Like

Hi Houston,

Thanks for writing in! I have tried to replicate this issue on my test site, but I couldn’t.

If you have any custom CSS added to your X -> Theme Options -> CSS area, your page’s custom CSS area or into your child theme’s style.css file, you can try removing them temporarily and re-test your issue again.

Also please check our element spacing guide here (https://theme.co/apex/forum/t/customizations-element-spacing/211).

Make sure to clear full cache, before testing your site (https://www.wpbeginner.com/beginners-guide/how-to-clear-your-cache-in-wordpress/).

In case if you’re unable to isolate the issue, please provide us with the example page URL to check this issue further.

Thanks!

No custom CSS in template at all and this is the only custom css I have in the child theme.

#gform_1 {
	background-color: #eee;
	padding:20px;
}
#gform_1 .gform_body ul li input, #gform_1 .gform_body ul li textarea, #gform_1 .gform_body ul li select {
	border-color:#888;
}

Which does not pertain to head tags at all. Only to Gravity forms.

UPDATE: I found ‘P’ tags around the title. Arghhhh. My bad.

Yup, <p> tags has a default bottom margin. Glad you sorted things out.

Cheers!

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