Does anybody know how to change the color of scrollbar in the theme template? I know it's a very very very simple question to wordpress expert, however, it's a practical question, especially to someone like me…
I've tried to add the following code in style.css of the theme, but failed N times...Anybody can help me out? You may leave you message here: http://www.elimmanna.net/wordpress/?cat=6
Thanks!
the code:
body {SCROLLBAR-FACE-COLOR:#660099;
SCROLLBAR-HIGHLIGHT-COLOR:#FFFFFF;
SCROLLBAR-SHADOW-COLOR:#FFFFFF;
SCROLLBAR-ARROW-COLOR:#FFFFFF;
SCROLLBAR-BASE-COLOR:#FFFFFF;
SCROLLBAR-DARK-SHADOW-COLOR:FFFFFF}
I've found the ways to solve the problem. You have to edit three files. Style.css and Index.php of the theme, and Index.php of the wordpress. But in index.php, you have to add [html][/html][body][/body] in source code. Between [body] and [/body], add the following
<style>
body {SCROLLBAR-FACE-COLOR:#FFFFFF;
SCROLLBAR-HIGHLIGHT-COLOR:#FFFFFF;
SCROLLBAR-SHADOW-COLOR:#FFFFFF;
SCROLLBAR-ARROW-COLOR:#835A58;
SCROLLBAR-BASE-COLOR:#835A58;
SCROLLBAR-DARK-SHADOW-COLOR:FFFFFF}
</style>
That works! You may check the result here: http://www.elimmanna.net/wordpress/
p.s. If you read Chinese, please check the answer here: http://www.elimmanna.net/wordpress/?p=13
I don't consider this a very important effect, or requirement it can look nice, but is it worth the trouble of hacking your core files? Theme mods should be left in themes, with core files left alone. Each to their own I guess :)
Also, I've not seen it work in any form when using FireFox, which is gaining more and more users.
yet 85% of the browsing world belongs to IE :(
Ah, but perhaps tomorrow it will be only 84% ;)
so you're that infamous IE user serial killer?