Howto remove the border in SideBar ?

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
ret2
Regular
Posts: 11
Joined: Thu Feb 15, 2007 3:55 pm

Howto remove the border in SideBar ?

Post by ret2 »

Hi,


Please, howto remove the "pink" border (draw with Paint) in the SideBar ?

Image

My template is based from carl_contest. (carl_contest/style.css)

#mainpane have margin: 0 auto; (default)
#serendipityLeftSideBar have margin: 0; (default)

Thank.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Howto remove the border in SideBar ?

Post by garvinhicking »

Hi!

Since you seem to have edited the CSS file already, we cannot tell you how to solve it without you giving us the URL to have a look at?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ret2
Regular
Posts: 11
Joined: Thu Feb 15, 2007 3:55 pm

Post by ret2 »

Sorry, work is in my second computer. (local)

My style.css :

http://pastebin.be/txt/1732.txt
http://pastebin.be/1732

In index.tpl i have just changed the left sidebar disposition.

I do not manage to find where is this margin.
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

I assume the border is not actually pink, but that you drew it that way in Paint to point it out?

If so, I think you can change the padding attribute in #serendipityRightSideBar and #serendipityLeftSideBar. You might also want to look at the dev.serendipitySideBarContent and manually set its padding (currently only the padding-bottom and margin-bottom are specified).
Judebert
---
Website | Wishlist | PayPal
ret2
Regular
Posts: 11
Joined: Thu Feb 15, 2007 3:55 pm

Post by ret2 »

I assume the border is not actually pink, but that you drew it that way in Paint to point it out?
Yes, i draw this border in pink, normaly the color is in #mainpane, (exemple in yellow) :

Image


If i change the padding in *SideBar to 0 :

Image


The padding and margin in div.SerendipitySideBarContent is :

Image

padding: 0 and maring: 0, have no effect for this border :(
d_cee
Regular
Posts: 603
Joined: Wed Jan 18, 2006 6:32 pm
Location: UK
Contact:

Post by d_cee »

Hi

this would be much easier to solve, as Judebert said, if you wouldn't mind posting your url :-)

Dave
ret2
Regular
Posts: 11
Joined: Thu Feb 15, 2007 3:55 pm

Post by ret2 »

It's ok, border-spacing 0px in #mainpane fix my problem.

Sorry, me + css = 0 :(
Post Reply