forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: big_smile on October 29, 2007, 01:57:38 pm

Title: Modifying the ecard, slideshow and congif pages with CSS
Post by: big_smile 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:


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?
Title: Re: Modifying the ecard, slideshow and congif pages with CSS
Post by: Stramm on October 29, 2007, 03:10:05 pm
lang/yourlang.php

replace yourlang with the language you're actually using
Title: Re: Modifying the ecard, slideshow and congif pages with CSS
Post by: big_smile 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,

^_^