Advanced search  

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

Pages: [1]   Go Down

Author Topic: change text colour in album description  (Read 6340 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

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

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 949
  • +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

(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.
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: 949
  • +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.021 seconds with 19 queries.