Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: scroller color  (Read 8357 times)

0 Members and 1 Guest are viewing this topic.

ann-vibeke

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 10
    • Ann-Vibekes HjemmeSide!
scroller color
« on: October 27, 2005, 07:12:20 am »

In which area do I change the color of my scroller?

Kind regards/ann-vibeke
« Last Edit: October 27, 2005, 09:06:32 pm by Nibbler »
Logged
Ask people - but make your own decision.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: scroller color
« Reply #1 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, 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.
Logged

ann-vibeke

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 10
    • Ann-Vibekes HjemmeSide!
Re: scroller color
« Reply #2 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
Logged
Ask people - but make your own decision.

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: scroller color
« Reply #3 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.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

ann-vibeke

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 10
    • Ann-Vibekes HjemmeSide!
Re: scroller color
« Reply #4 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
Logged
Ask people - but make your own decision.

Nibbler

  • Guest
Re: scroller color
« Reply #5 on: October 27, 2005, 08:32:33 pm »

Please post a link to your gallery.
Logged

ann-vibeke

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 10
    • Ann-Vibekes HjemmeSide!
Re: scroller color
« Reply #6 on: October 27, 2005, 08:35:05 pm »

Logged
Ask people - but make your own decision.

Nibbler

  • Guest
Re: scroller color
« Reply #7 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...

}
Logged

ann-vibeke

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 10
    • Ann-Vibekes HjemmeSide!
Re: scroller color
« Reply #8 on: October 27, 2005, 08:46:34 pm »

Jubiii...now it works ;-)

Thank you so much!

kind regard/ann-vibeke
Logged
Ask people - but make your own decision.

Sheky

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: scroller color
« Reply #9 on: April 20, 2006, 11:33:31 pm »

Thx!!!!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.