• 0

Help in Removing Extra Pixels from the Bottom of ContentBox


Question

Posted · Report post

I am getting too much white space in the ContentBox at this page - http://emergencyplumbinglosangeles.net
 
I have inspected the ContentBox with Firebug and it seems the correct CSS to add in Pagelines>Site Options>CSS Code is:
 
body{}
.contentbox .texture .content .content-pad {
padding: 15px; 15 px; 0 px; 15 px;
}
 
However, I am not getting any changes to the layout. 
 
Please advise.

 

1 person likes this

Share this post


Link to post
Share on other sites

8 answers to this question

  • 0

Posted · Report post

give this a try 

.contentbox .texture .content .content-pad .hentry .hentry-pad {
padding-bottom: 0px
}

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi there,

 

As well as the padding you have a margin on the .hentry class. See the screenshot below. If you remove that in firebug then copy/paste the code this will reduce the gap further. 

 

http://screencast.com/t/HlkbzXl3

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi there, it's just the .hentry class, your code is going one further into the .hentry-pad so it's trying to remove the code from there instead of the .hentry

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I was able to eliminate 2 extra white space regions by using these CSS modifications (NOT the long version of it that was originally suggested by Martin and James)

.hentry .hentry-pad {
padding: 0 0 0px;
}
.hentry {
clear: both;
margin: 0 0 0 0;
}

 

I am not sure why this short version works and not the long version???  Please advise.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

If you look at your original code, you were adding the instruction to each level.  By getting down to specific levels, the code worked. In the broadest sense, for it to work it had to find all those elements.  Your CSS must be precise for it to function.

 

We're very happy it did work.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

page1searchenginemarketing thank you! :D

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