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 text colour in album description  (Read 6243 times)

0 Members and 1 Guest are viewing this topic.

rapidyellow

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
change text colour in album description
« on: April 05, 2013, 04:47:50 pm »

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
Logged

roger_morgan

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: change text colour in album description
« Reply #1 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
Logged

rapidyellow

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: change text colour in album description
« Reply #2 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

(http://s9.postimg.org/i4fvz2a4v/Image2.jpg)
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: change text colour in album description
« Reply #3 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

(http://s9.postimg.org/i4fvz2a4v/Image2.jpg)

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.
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

rapidyellow

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: change text colour in album description
« Reply #4 on: April 10, 2013, 12:25:36 am »

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

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: change text colour in album description
« Reply #5 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.
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: change text colour in album description
« Reply #6 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;
Logged

rapidyellow

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: change text colour in album description
« Reply #7 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?
Logged

rapidyellow

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: change text colour in album description
« Reply #9 on: April 10, 2013, 04:07:58 pm »

sorry about that
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: change text colour in album description
« Reply #10 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.