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: Modifying the ecard, slideshow and congif pages with CSS  (Read 3164 times)

0 Members and 1 Guest are viewing this topic.

big_smile

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Modifying the ecard, slideshow and congif pages with CSS
« on: October 29, 2007, 01:57:38 pm »

I really love Coppermine and I am trying to customise the design.

By default on Coppermine, the same styles are reused for different elements. For example, the tableh1 style is used by all the headers. This can be a problem if, for example, you want the headers on the photograph pages to have a different style from those on the album pages.

To overcome this, I have been going through the template.php page and adding my own CSS style tags to the elements. This works really well for purposes.

However, I am having trouble finding where the following elements are located:

  • The text that appears on the “Send E Card” form
  • The text that appears on the: “Your E-card was sent” page
  • The “Stop Slide show” button
  • The text for the config page
  • The text that appears on the “enter album password” page

I’ve tried reading through the theme.php files several times, but I just can’t find the above elements. This is somewhat odd, as I managed to find all the other elements I wanted to change. Are the above elements not stored in the theme.php file or I am just missing something?

(I know it is possible to edit these elements in the "echard.php" etc files, but this then affects all the themes and not just my custom theme).
Can anyone help me?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Modifying the ecard, slideshow and congif pages with CSS
« Reply #1 on: October 29, 2007, 03:10:05 pm »

lang/yourlang.php

replace yourlang with the language you're actually using

big_smile

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Modifying the ecard, slideshow and congif pages with CSS
« Reply #2 on: November 10, 2007, 12:14:04 pm »

Hi

Sorry for the delay in replying.

I do not actually want to change the language.

I simply want to add CSS tags (e.g. div class="masthead") to the elements that are listed in my opening post.

I want to add CSS tags, so I can style those elements as I wish.

However, as I explained in my opening post, I cannot find the listed elements in the theme.php file.

Thanks,

^_^
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.