Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1] 2   Go Down

Author Topic: scroll bar color  (Read 13756 times)

0 Members and 1 Guest are viewing this topic.

boltonline

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
scroll bar color
« on: July 09, 2006, 07:19:05 pm »

I need help changing the color of the scroll bar! i used the css code and its not working!
« Last Edit: July 11, 2006, 07:15:34 am by GauGau »
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: scroll bar color
« Reply #1 on: July 09, 2006, 07:21:05 pm »

Morning,

ScrollBar color work only with IExplorer, not with Friefox in exemple  ;)

PYAP
Logged

boltonline

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: scroll bar color
« Reply #2 on: July 09, 2006, 07:25:32 pm »

i am using IE.  The same css code is working with all my other pages through out the site just not the gallery

the code is


body { color : red; scrollbar-arrow-color: white; scrollbar-base-color: black; scrollbar-dark-shadow-color: black; scrollbar-track-color: FF0000; scrollbar-face-color: black; scrollbar-shadow-color: white; scrollbar-highlight-color: white; scrollbar-3d-light-color: black}
Logged

Nibbler

  • Guest
Re: scroll bar color
« Reply #3 on: July 09, 2006, 07:50:28 pm »

Post a link.
Logged

boltonline

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: scroll bar color
« Reply #4 on: July 09, 2006, 08:18:54 pm »

Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: scroll bar color
« Reply #5 on: July 09, 2006, 11:13:26 pm »

Again Mornin',

Try to insert this code inside your Theme before </head> :
Code: [Select]
<style>
       BODY {
              scrollbar-face-color:FFE860;
              scrollbar-track-color:006FA4;
              scrollbar-3dlight-color:C0C0C0;
              scrollbar-arrow-color:000000;
              scrollbar-highlight-color:FFFFFF;
              scrollbar-shadow-color:808080;
              scrollbar-darkshadow-color:004080;
            }
    </style>

PYAP
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: scroll bar color
« Reply #6 on: July 10, 2006, 12:21:23 am »

and please upgrade your gallery to most recent version ( 1.4.8 but very soon it will be 1.4.9 ;) )
1.4.2 has some security issues
Logged
‍I don't answer to PM with support question
Please post your issue to related board

boltonline

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: scroll bar color
« Reply #7 on: July 10, 2006, 02:25:48 am »

Again Mornin',

Try to insert this code inside your Theme before </head> :
Code: [Select]
<style>
       BODY {
              scrollbar-face-color:FFE860;
              scrollbar-track-color:006FA4;
              scrollbar-3dlight-color:C0C0C0;
              scrollbar-arrow-color:000000;
              scrollbar-highlight-color:FFFFFF;
              scrollbar-shadow-color:808080;
              scrollbar-darkshadow-color:004080;
            }
    </style>

PYAP

I dont have a head section in the theme.php file.
Logged

boltonline

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: scroll bar color
« Reply #8 on: July 10, 2006, 03:47:54 am »

and please upgrade your gallery to most recent version ( 1.4.8 but very soon it will be 1.4.9 ;) )
1.4.2 has some security issues
updated!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: scroll bar color
« Reply #9 on: July 10, 2006, 07:48:01 am »

I dont have a head section in the theme.php file.
That's why it's suppossed to go into template.html instead of theme.php
Logged

boltonline

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: scroll bar color
« Reply #10 on: July 10, 2006, 04:45:29 pm »

this is what i have it lookin like:
<style>
       BODY {
              scrollbar-face-color:FFE860;
              scrollbar-track-color:006FA4;
              scrollbar-3dlight-color:C0C0C0;
              scrollbar-arrow-color:000000;
              scrollbar-highlight-color:FFFFFF;
              scrollbar-shadow-color:808080;
              scrollbar-darkshadow-color:004080;
            }
    </style>

</head>
still not working.
« Last Edit: July 10, 2006, 04:55:10 pm by boltonline »
Logged

Nibbler

  • Guest
Re: scroll bar color
« Reply #11 on: July 10, 2006, 04:47:24 pm »

Add hashes in before the colour numbers, eg #FFE860
Logged

boltonline

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: scroll bar color
« Reply #12 on: July 10, 2006, 04:53:48 pm »

now this is how it looks....<style>
       BODY {
              scrollbar-face-color:#FFE860;
              scrollbar-track-color:#006FA4;
              scrollbar-3dlight-color:#C0C0C0;
              scrollbar-arrow-color:#000000;
              scrollbar-highlight-color:#FFFFFF;
              scrollbar-shadow-color:#808080;
              scrollbar-darkshadow-color:#004080;
            }
    </style>

</head>still didnt work
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: scroll bar color
« Reply #13 on: July 10, 2006, 04:58:37 pm »

are you aware that scrollbar colors only work within IE?

boltonline

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: scroll bar color
« Reply #14 on: July 10, 2006, 05:03:40 pm »

yes. thats what i am using and i see the other webpages i used the code on.
are you aware that scrollbar colors only work within IE?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: scroll bar color
« Reply #15 on: July 10, 2006, 05:19:43 pm »

you're right, it doesn't show on coppermine but on other html pages. However I don't know why.

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: scroll bar color
« Reply #16 on: July 10, 2006, 05:22:05 pm »

I checked it if you enable debug the scrolbar of debog frame will change but the main scrolbar not !!!
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: scroll bar color
« Reply #17 on: July 10, 2006, 05:30:42 pm »

I found the killer ;)
you should remove document type
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
that's the one who laugh at us ;)
but in this way you should remove vanity too
Logged
‍I don't answer to PM with support question
Please post your issue to related board

boltonline

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: scroll bar color
« Reply #18 on: July 10, 2006, 05:34:45 pm »

thats what it was! thanks a lot!! now i just have to change the colors back to match the site.
I found the killer ;)
you should remove document type
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
that's the one who laugh at us ;)
but in this way you should remove vanity too
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: scroll bar color
« Reply #19 on: July 10, 2006, 05:40:11 pm »

make sure to remove this line from your theme.php
define('THEME_IS_XHTML10_TRANSITIONAL',1);
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1] 2   Go Up
 

Page created in 0.025 seconds with 19 queries.