forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: rapidyellow on April 05, 2013, 04:47:50 pm

Title: change text colour in album description
Post by: rapidyellow on April 05, 2013, 04:47:50 pm
http://www.speedys-signs.com/photos (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
Title: Re: change text colour in album description
Post by: roger_morgan on April 05, 2013, 10:02:12 pm
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
Title: Re: change text colour in album description
Post by: 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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fs9.postimg.org%2Fi4fvz2a4v%2FImage2.jpg&hash=e8895e46960785ce5441abf07dee96550da52a7b)
Title: Re: change text colour in album description
Post by: lurkalot on April 09, 2013, 11:47:04 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://forum.coppermine-gallery.net/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.
Title: Re: change text colour in album description
Post by: rapidyellow on April 10, 2013, 12:25:36 am
yeah, still isnt showing in black, have tried on two machines to double check
Title: Re: change text colour in album description
Post by: lurkalot on April 10, 2013, 08:52:41 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.
Title: Re: change text colour in album description
Post by: Αndré on April 10, 2013, 09:16:20 am
Firebug says that the white text color is inherited from element "body" (line 18). Find
Code: [Select]
color: fff;and replace with something like
Code: [Select]
color: 000;
Title: Re: change text colour in album description
Post by: rapidyellow on April 10, 2013, 03:39:26 pm
thankyou, that has sorted the text

now - how do I put in a background image that is repeated?
Title: Re: change text colour in album description
Post by: Αndré on April 10, 2013, 03:52:16 pm
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270618.html#msg270618
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631
Title: Re: change text colour in album description
Post by: rapidyellow on April 10, 2013, 04:07:58 pm
sorry about that
Title: Re: change text colour in album description
Post by: Αndré on April 10, 2013, 04:23:08 pm
Please
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.