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: change most viewed and last images background  (Read 3864 times)

0 Members and 1 Guest are viewing this topic.

ainarade

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 21
    • Ainara Delgado Tristan Oficial Website
change most viewed and last images background
« on: August 15, 2009, 10:29:17 pm »

hello!

i've been lookign through the forum, but i didn't find anything about it. and if there's anything like that, i'd be glad if you tell me where i can find the answers.

the things is that: this is my coppermine gallery : http://www.ainara-de.org/photogallery/index.php and i want to change the color of the background where the images are displayed, in the most viewed category and the last images, the smae as the whole album view with all the thumb images. as you can see, in my gallery is pink #ffccff and i want it to be blue #0033ff.

can you tell me where exactly is the css code for that in the style.css?
thanks.
Logged

onthepike

  • Guest
Re: change most viewed and last images background
« Reply #1 on: August 15, 2009, 10:59:23 pm »

Your theme's CSS is located here: http://www.ainara-de.org/photogallery/themes/pink/style.css

Replace the instances of FFCCFF with 0033FF where applicable.
Logged

ainarade

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 21
    • Ainara Delgado Tristan Oficial Website
Re: change most viewed and last images background
« Reply #2 on: August 15, 2009, 11:10:44 pm »

yeah, i've already been changing those codes of my style.css sheet, and i changed most of them, but it didn't work, maybe i missed any, but i tried for so long. i just wanna know what css code is used to change that, i mean, for the background, it's on {body}, for the table is {table}, so i would liek to now inside what section it appears, just to change the parameters, as {tableh1}, {maintable}, tec.

thank you for your help, anyway.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: change most viewed and last images background
« Reply #3 on: August 15, 2009, 11:11:45 pm »

There are many tools out there to help with finding the correct css to change but one of my favourites is firebug (http://getfirebug.com/).

With this excellent tool you can highlight any element on a live webpage using the inspect tool and then even fiddlw with its related css or html instantly to test your changes.

Give it a go, it will save you a lot of time in the future.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

ainarade

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 21
    • Ainara Delgado Tristan Oficial Website
Re: change most viewed and last images background
« Reply #4 on: August 15, 2009, 11:32:02 pm »

thnaks, Phill, i'll try to use that.
Logged

onthepike

  • Guest
Re: change most viewed and last images background
« Reply #5 on: August 15, 2009, 11:54:51 pm »

If you view the source of the generated output on each page in question, you'll be able to see exactly what class identifies what table and so forth. From this information, you can then modify the .css file to suit your preferences.

Phil, thanks for the FF tip. As a life-long IE user (gasp, I know) I'm mssng out on some browser extension tools that may prove handy!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.