Page 1 of 1

Bulletproof side bar width

Posted: Tue Mar 04, 2008 7:44 pm
by kc0dxf
Just wondering if there is a way to change the side bar width in bulletproof? I have a S-B-S configuration and I would like the right side bar to be wider.

Re: Bulletproof side bar width

Posted: Tue Mar 04, 2008 8:24 pm
by yellowled
kc0dxf wrote:Just wondering if there is a way to change the side bar width in bulletproof? I have a S-B-S configuration and I would like the right side bar to be wider.
Of course there is :-)

However, there is a small "but". Problem is, the changes you'd make now would be overwritten in case of an update to either BP and/or s9y. My suggestion is to wait a few more days until s9y 1.3 and a new version of BP are released. The new BP version will have a new theme option to include a user stylesheet which is exactly for this purpose - to override setting without having to worry they will be overwritten.

YL

Posted: Tue Mar 04, 2008 9:30 pm
by Don Chambers
Ummm.... YL.... this is the second time I have seen you make the suggestion to wait for 1.3 due to the user stylesheet in bulletproof. We added that to version 1.2 back in December!!! :lol:

Posted: Tue Mar 04, 2008 10:42 pm
by judebert
Right, now answer the guy's question!

Create a file in the bulletproof/ directory called "user.css". Find the class(es) of the sidebar(s) you want to style. Then add the appropriate style for them in your user.css:

Code: Select all

#serendipityLeftSideBar, #serendipityRightSideBar {
    width: 200px;
}
The user.css will never be overwritten, so even if you upgrade BP, you'll still have 200px sidebars.

Note that the user.css will still take precedence when you switch to a new colorset, too. When you do that, you may want to comment out lines in your user.css to see what the new colorset provides.

Posted: Wed Mar 05, 2008 7:20 am
by yellowled
Don Chambers wrote:Ummm.... YL.... this is the second time I have seen you make the suggestion to wait for 1.3 due to the user stylesheet in bulletproof. We added that to version 1.2 back in December!!! :lol:
Erm ... well ... :oops:

That's just because I am confused because I don't have to dive into the BP code every single day anymore because you lunatic keep bugging me about something you want to change! It's all your fault! :wink:

YL