Jump to content
Sign in to follow this  
margeaux7

More Content Box Padding Challenges

Recommended Posts

margeaux7    3
margeaux7

Hello all, sadly I have been trying to remove the padding from the "standard padding of

 

.content .content-pad {

    padding-bottom: 15px;

    padding-left: 15px;

    padding-right: 15px;

    padding-top: 15px;

}

 

from the content box the entire day. Well I have failed. Here is what I think should work based upon many attempts with firebug and reading the forum. 

 

.section-contentbox .container-no_clone .texture .content .content-pad {

    padding-bottom: 0px;

    padding-top: 0px;

  } 

 

http://69.195.124.82/~cityfirs/

 

I appreciate the help and I am very grateful if it helps someone else.

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there, looking at your site the only thing i can see in the contentbox is the shortcode for the shadow from the badass shortcodes plugin. Is that the correct area you're trying to amend?

 

If you could let us know exactly what you're trying to edit on the site, like which bits you want to move where, we'll be able to say if you're affecting the correct container.

 

To remove the padding from the content-boxes content-pad, the correct code is

 

.section-contentbox .content-pad {
    padding-bottom: 0px;
    padding-top: 0px;
  } 

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
margeaux7    3
margeaux7

I would like to be able to adjust the code in the firebug highlighted area on the attached. Thank you.

pagelines1.png

Share this post


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

Hi,

 

As far as I can see that area on the attached image above, is related to a spacer image you have added ?


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
margeaux7    3
margeaux7

Danny. I am trying to adjust this padding slightly only in the spacer area.

.content .content-pad {
    padding-bottom: 15px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 15px;
}

Thank you.

Share this post


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

I recommend you remove the code you have used above, as this will effect everywhere. The code James provided above, will allow you to adjust the padding for the ContentBox.


Please search our forums, before posting!

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  

×