CSS question with Coppermine template CSS question with Coppermine template
 

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

Main Menu

CSS question with Coppermine template

Started by chuckywang, August 02, 2005, 01:41:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chuckywang

Hello, I would like to incorporate a header to my coppermine gallery. However, I already have the stylesheet I want to use for that header, and it's different from the style.css stylesheet that the template uses. How do I specify that I want to use my own stylesheet for the header and coppermine's stylesheet for the gallery?

Thanks.

donnoman

If you really want to; just add your stylesheet next to the coppermine stylesheet assignment in template.html

look for <link rel="stylesheet" href="themes/classic/style.css" />

Fair warning: using two stylesheets not built to work together can produce very obscure CSS results that can be tough to troubleshoot.

Also remember css classes are merged and conflict resolution goes by specificity, then if theres still a conflict, last writer wins, so the order in which you specify the css links can become important, and neither order may be totally satisfactory.

Experiment and see. If all else fails, manually merge them into a single css file, then go over the resulting css file with a fine tooth comb. (and css validator)

Good luck.