Jump to content


Photo
- - - - -

Page Unique Padding Settings For Side Columns


Best Answer texasx , 04 December 2012 - 09:36 AM

Oops, I suddenly got it working.

Thanks for dropping by

Go to the full post


This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 texasx

texasx

    Member

  • Members
  • 26 posts

Posted 04 December 2012 - 09:24 AM

Hi,

 

I'm trying to set the padding for the side columns on each page induvidually.

The reason is to better align with the main content.

 

I've succeded, with help from you guys, to do this on the "Home" page. But I can't get it done on the rest.

 

This is the css code on the home page that works:

 /* To increase padding top on both side columns */
body.page-id-100 div.scolumn-pad {padding-top: 97px;
}   

 

Here are some versions I tried, without succes:

 

/* To increase padding top on SB1 in contact form */

body.page-id-105 div.scolumn-pad {padding-top: 86px;
}

/* To increase padding top on SB1 in contact form */
body.#page-id-105 div.scolumn-pad {padding: 6em 0 0.7em;
}

/* To increase padding top on SB1 in contact form */
body.#page-id-105 div.scolumn-pad {padding-top: 86px;
}
 
This is from Firebug
element.style {
    padding-top: 86px;
}
.scolumn-pad {
    padding: 6em 0 0.7em;
}

 

url:

Please Login or Register to see this Hidden Content

 

Greatful for your help



#2 texasx

texasx

    Member

  • Members
  • 26 posts

Posted 04 December 2012 - 09:36 AM   Best Answer

Oops, I suddenly got it working.

Thanks for dropping by