coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: ainarade on August 15, 2009, 10:29:17 PM

Title: change most viewed and last images background
Post by: ainarade 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 (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.
Title: Re: change most viewed and last images background
Post by: onthepike 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.
Title: Re: change most viewed and last images background
Post by: ainarade 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.
Title: Re: change most viewed and last images background
Post by: phill104 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.
Title: Re: change most viewed and last images background
Post by: ainarade on August 15, 2009, 11:32:02 PM
thnaks, Phill, i'll try to use that.
Title: Re: change most viewed and last images background
Post by: onthepike 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!
Title: Re: change most viewed and last images background
Post by: Joachim Müller on August 17, 2009, 08:49:50 AM
http://forum.coppermine-gallery.net/index.php/topic,24056.msg123520.html#msg123520