change text colour in album description change text colour in album description
 

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

Main Menu

change text colour in album description

Started by rapidyellow, April 05, 2013, 04:47:50 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

rapidyellow

http://www.speedys-signs.com/photos

hello I would like to know how to change the text colour in the album description of my gallery

also, how do I add a background image where the plain black background is?

many thanks

roger_morgan

You are using a theme called "curve_floog_01"

edit your styles.css in the subdirectory ...your gallery.../themes/curve_floog_01    (copy it first!)


At around line 58 look for

#cpg_logo_block_name {
    float: right;
    text-align: center;
}


add a line

#cpg_logo_block_name {
    float: right;
    text-align: center;
    color: Red
}
}


defining your chosen colour

This will change gallery description

For the gallery name

copy the block  and modify as below

#cpg_logo_block_name>h1 {
    float: right;
    text-align: center;
    color: Yellow
}
}


for demostration purposes I have made it a different colour




Hope this helps

rapidyellow

Tried that, doesnt seem to have altered it - to confirm, its the text colour in the image below that got a red line under it

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fs9.postimg.org%2Fi4fvz2a4v%2FImage2.jpg&hash=e8895e46960785ce5441abf07dee96550da52a7b)

lurkalot

Quote from: rapidyellow on April 09, 2013, 11:40:18 PM
Tried that, doesnt seem to have altered it - to confirm, its the text colour in the image below that got a red line under it

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fs9.postimg.org%2Fi4fvz2a4v%2FImage2.jpg&hash=e8895e46960785ce5441abf07dee96550da52a7b)

Just a quick note in case you didn't know, after editing the file, you'll have to Ctrl +F5 to clear your browser cache to see the changes.
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

rapidyellow

yeah, still isnt showing in black, have tried on two machines to double check

lurkalot

Quote from: rapidyellow on April 10, 2013, 12:25:36 AM
yeah, still isnt showing in black, have tried on two machines to double check

Then you must be editng the wrong file, or wrong part of it.  I didn't check  roger_morgan's code to see if it was correct.  Might pay you to use the Firebug addon in Firefox, that should show you where and what to edit.
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Αndré

Firebug says that the white text color is inherited from element "body" (line 18). Find
color: fff;
and replace with something like
color: 000;

rapidyellow

thankyou, that has sorted the text

now - how do I put in a background image that is repeated?


rapidyellow


Αndré

Please
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.