SimplePortal
Customization => Themes and Graphics => Topic started by: shade3134 on June 25, 2010, 11:32:49 PM
-
How to increase the distance between the right side blocks and the main index?
-
Moved to the Themes and Graphics board.
#sp_center
{
vertical-align: top;
width: 100%;
}
#sp_center
{
vertical-align: top;
width: 100%;
padding-right: 20px;
}
Set the '20' to a larger value if you want more padding, or visa-versa.
-
It didn't do anything. I'm trying to push these blocks away from the main index:
(http://img38.imageshack.us/img38/3519/helpwo.jpg)
-
Well I set the 20 higher and it didn't do anything.
-
Okay, remove that edit and make the edit below.
#sp_right
{
vertical-align: top;
}
#sp_right
{
vertical-align: top;
padding-left: 20px;
}
Make sure that you clear your browser's cache after making that change (Ctrl+F5 for firefox).
-
It's still not moving it. I just want to move those right side blocks away from the main block a little. I've tried changing the 20px to 90px just to see if there was a difference and either does nothing.
-
I updated my profile to say SMF 2.0 if that makes a difference on the instructions you gave me earlier.
-
That edit should (and does on my local test installations) work perfectly for SP 2.3.2 with SMF 1.1.x or SMF 2 RC3. I suspect that your custom theme may be causing the issue.
Does your custom theme have its own portal.css file? Try editing that file instead.
Also, for SMF2, the correct filepath is 'Themes/default/css/portal.css'.
-
Thanks Nathaniel, it worked. But how would I move it to the right (instead of always shifting left nomatter what numbers I put in)?
(http://img822.imageshack.us/img822/8996/helpyt.jpg)
I'm trying to push it towards the wrapper (away from the index).
-
padding-left: 20px;