Jump to content


Photo
- - - - -

Padding In Content Box

padding

  • Please log in to reply
2 replies to this topic

#1 dchetson

dchetson

    Advanced Member

  • Members
  • 37 posts
  • Framework Version:Pro
  • Country: Country Flag

Posted 11 April 2014 - 01:50 AM

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!


  • Tibag3wv likes this

#2 dchetson

dchetson

    Advanced Member

  • Members
  • 37 posts
  • Framework Version:Pro
  • Country: Country Flag

Posted 11 April 2014 - 01:52 AM

Sample page: http://www.chetson.c...-felony-lawyer/



#3 Danny

Danny

    Is Awesome!

  • Moderators
  • 15818 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 11 April 2014 - 10:09 AM

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.







Also tagged with one or more of these keywords: padding