forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: ann-vibeke on October 27, 2005, 07:12:20 am

Title: scroller color
Post by: ann-vibeke on October 27, 2005, 07:12:20 am
In which area do I change the color of my scroller?

Kind regards/ann-vibeke
Title: Re: scroller color
Post by: Joachim Müller on October 27, 2005, 08:17:40 am
If you're refering to the scroll-bars: this is done in themes/yourtheme/style.css
You will have to add a section like this
Code: [Select]
  SCROLLBAR-FACE-COLOR: buttonface;
  SCROLLBAR-HIGHLIGHT-COLOR: white;
  SCROLLBAR-SHADOW-COLOR: buttonface;
  SCROLLBAR-3DLIGHT-COLOR: buttonface;
  SCROLLBAR-ARROW-COLOR: buttonshadow;
  SCROLLBAR-TRACK-COLOR: silver;
  SCROLLBAR-DARKSHADOW-COLOR: buttonshadow;
  SCROLLBAR-BASE-COLOR: buttonface;
or with actual color codes like this
Code: [Select]
scrollbar-base-color: #9999cc;
scrollbar-arrow-color: white;
scrollbar-track-color: #ccccff;

scrollbar-shadow-color: black;
scrollbar-lightshadow-color: black;
scrollbar-darkshadow-color: gray;

scrollbar-highlight-color: white;
scrollbar-3dlight-color: black;
There are loads of tutorials when googling for scrollbar css (http://www.google.com/search?q=scrollbar+css), e.g. this one: http://www.yourhtmlsource.com/stylesheets/scrollbars.html
Keep in mind that this will work for IE only and is imo one of the most over-user effects on the internet.
Title: Re: scroller color
Post by: ann-vibeke on October 27, 2005, 07:54:30 pm
Thank you for answering my question ;-)

Usely I put my color-code in between <body> and </body>...
...where do I put the color-code in, when I have'nt this <> and </body> ?

kind regards/ann-vibeke
Title: Re: scroller color
Post by: kegobeer on October 27, 2005, 07:57:21 pm
GauGau's code goes in your theme's style.css file.  Doesn't matter where, just paste it at the end of the file.
Title: Re: scroller color
Post by: ann-vibeke on October 27, 2005, 08:20:53 pm
Now I have tried before 'body' and after 'body' in style.css - and my scroller still is grey....

This is my scroller-color-code:
scrollbar-face-color:#CF9FFF;
scrollbar-highlight-color:#FFFFFF;
scrollbar-3dlight-color:#800080;
scrollbar-darkshadow-color:#400040;
scrollbar-shadow-color:#800080;
scrollbar-arrow-color:#800080;
scrollbar-track-color:#800080;

Is there something wrong with my code?

kind regards/ann-vibeke
Title: Re: scroller color
Post by: Nibbler on October 27, 2005, 08:32:33 pm
Please post a link to your gallery.
Title: Re: scroller color
Post by: ann-vibeke on October 27, 2005, 08:35:05 pm
http://ann-vibeke.dk/foto
Title: Re: scroller color
Post by: Nibbler on October 27, 2005, 08:40:18 pm
Check the link GauGau provided, that code needs to be associated with the html tag, like so:

Code: [Select]
html {

... code here...

}
Title: Re: scroller color
Post by: ann-vibeke on October 27, 2005, 08:46:34 pm
Jubiii...now it works ;-)

Thank you so much!

kind regard/ann-vibeke
Title: Re: scroller color
Post by: Sheky on April 20, 2006, 11:33:31 pm
Thx!!!!