• 0

How can I reduce spacing after paragraphs

Question

3 answers to this question

  • 0

Posted · Report post

Hi,

 

Are you referring to here? - http://d.pr/i/xhJm

If so, then we have included a number of utility classes, two of which remove margins on the top and bottom of elements.

So for the <p> tag that contains the following text:

 

Hill Country University Center welcomes all who wish to continue your education. Whether you are…

Replace the text with this:

 

<p class="zmb">Hill Country University Center welcomes all who wish to continue your education. Whether you are…</p>

 

Then replace your <ul> tag with the following:

 

<ul class="zmt">

 

The zmt and zmb are acronyms of zero margin top and zero margin bottom. You can find more information about these classes and others here - http://docs.pagelines.com/tutorials/html-css-utilities

 

The end result will look like this:

 

http://docs.pagelines.com/tutorials/html-css-utilities

If you simply want to reduce the space, then use the following:

 

#site p {
margin: .5em 0;
}

 

Replace .5em with whatever value you like.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thank you so much! Your support is appreciated.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

No problem.

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