View Full Version : scrollbar
Makaveli105
07-03-2004, 10:40 PM
where can i put the code to change the scrollbar colors. i tried putting it in headerinclude and numerous other places and it does nothing. can anyone help me?
Thanks
Zachery
07-03-2004, 10:43 PM
where can i put the code to change the scrollbar colors. i tried putting it in headerinclude and numerous other places and it does nothing. can anyone help me?
Thanks
Youll need to add it to the CSS area of vBulletin. in the Aditional CSS box at the very bottom of the style manager
The scrollbar colors must now be defined in HTML not body
HTML {
}
Makaveli105
07-04-2004, 12:12 AM
Worked, Thanks Zack!
Ghanem
04-19-2005, 04:19 AM
Hi,
How can I change the scrollbar side to be to the right..
I am running an arabic forum, the scrollbar is on the left side while I want it to be on the right side..
http://www.la7odood.com/vb
Regards.
Ghanem
04-27-2005, 10:03 AM
Up :rolleyes:
Telkman
04-27-2005, 10:24 AM
The right to left direction is currently defined in the html tag by the the dir definition:
<html dir="rtl" lang="ar-sa">
In IE (and others?) that will position the scrollbar on the left hand side.
To return the scrollbar to the right hand side, you simply need to remove the dir definition and set the text direction without applying it to the entire document or by using CSS.
This could be done by using the dir definition to surround all the content but without applying it to the html/body tags e.g. use the below code within the body tags but surrounding all other content.
<bdo dir="rtl"></bdo>
Or you could apply the direction through the CSS more easily in the CSS editor by adding the below definition to the CSS for the body tag for example, but this may not effect everything (column orders etc):
direction: rtol;
Ghanem
04-27-2005, 10:42 AM
Hi,
thank you for the answer..
just wanted to know:
<bdo dir="rtl"></bdo>
Where to apply that..
and
but this may not effect everything (column orders etc):
direction: rtol;
I need only the main scroll bar to be to the right, is that gona solve it, and should I put the code any where in the CSS..
Kind Regards.
Telkman
04-27-2005, 11:23 AM
This will become more complicated if you have different direction languages that use the same templates.
Admin CP > Languages & Phrases > Language Manager > *Your Language* > Edit Settings
Change "Right to Left" to "Left to Right".
The scrollbar will now be on the right hand side, but your text will also not be going in the direction you require.
Admin CP > Styles & Templates > Style Manager > *Your Style* > All Style Options > Go > Body > Extra CSS Attributes
Add:direction: rtol;
This will change the text direction, but the order of the columns will still be left to right, e.g. Forum, Last Post, Threads, Posts.
If you wish to have the columns from right to left as well (e.g. Posts, Threads, Last Post, Forum) then remove the previous CSS change to the body and do the following:
Admin CP > Styles & Templates > Style Manager > *Your Style* > All Style Options > Go > Common Templates > Header
At the top, add:<bdo dir="rtl">
Then:
Admin CP > Styles & Templates > Style Manager > *Your Style* > All Style Options > Go > Common Templates > Footer
At the bottom, add:</bdo>
You could also do this manually through the Style Manager. If you have multiple styles where the values in question aren't inherited, you would need to edit them for each.
Ghanem
04-27-2005, 12:18 PM
Hi,
Thanks again for your fast reply.
That did change the scroll to right and corrected the table directions..
but all the forum text was to the left..
seems I will stick to the left side bar :)
Thanks again for your support..
Kind Regards.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.