• 0
Sign in to follow this  
Followers 0

Padding In Content Box


Question

Posted · Report post

What I hope to be my last question:

 

In the WP Content/Loop box, there is a significant amount of space between the top of the box and the h1 text. Been scratching my head trying to figure out how to decrease this and have hit a wall.

 

Any help as always is appreciated.

 

Thanks!

1 person likes this

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Posted · Report post

HI,

 

You have manually added this to content:

 

<h1 style="text-align: center;">North Carolina Felony Crimes</h1>

 

All <p> and header tags contain margin on both the top and bottom, if you wish to remove this, you can use our utility classes in your own code, which in this case is what you have.

 

So instead of what you have above, use the following instead.

 

<h1 class="zmb zmt center">North Carolina Felony Crimes</h1>

 

Of course, if these tags are generated by Wordpress then you will not be able to use these classes, you will need to use custom CSS. But my above suggestion should work, simply replace what you have with the one I provided above.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0