Jump to content

Archived

This topic is now archived and is closed to further replies.

cskitchens

How can I reduce spacing after paragraphs

Recommended Posts

Danny    1,327
Danny

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.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
cskitchens    0
cskitchens

Thank you so much! Your support is appreciated.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

No problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×