Page 1 of 1
Howto remove the border in SideBar ?
Posted: Mon May 14, 2007 8:39 pm
by ret2
Hi,
Please, howto remove the "pink" border (draw with Paint) in the SideBar ?
My template is based from carl_contest. (carl_contest/style.css)
#mainpane have margin: 0 auto; (default)
#serendipityLeftSideBar have margin: 0; (default)
Thank.
Re: Howto remove the border in SideBar ?
Posted: Tue May 15, 2007 10:11 am
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
Posted: Tue May 15, 2007 1:08 pm
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.
Posted: Tue May 15, 2007 3:48 pm
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).
Posted: Tue May 15, 2007 6:17 pm
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) :
If i change the padding in *SideBar to 0 :
The padding and margin in div.SerendipitySideBarContent is :
padding: 0 and maring: 0, have no effect for this border

Posted: Tue May 15, 2007 6:45 pm
by d_cee
Hi
this would be much easier to solve, as Judebert said, if you wouldn't mind posting your url
Dave
Posted: Wed May 16, 2007 5:57 pm
by ret2
It's ok, border-spacing 0px in #mainpane fix my problem.
Sorry, me + css = 0
