[Closed]: How to change background color of anycontent.php ? [Closed]: How to change background color of anycontent.php ?
 

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]

Main Menu

[Closed]: How to change background color of anycontent.php ?

Started by follett, July 09, 2009, 01:52:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

follett

I'd like to change background color of text in my anycontent.php
If i copy to anycontent <body background="images/back.jpg">, it does not help.
I tried to modify style.css file but then almost whole site change color, not anycontent.php only.
I am using "mesh" theme.

Please, help me.


Joachim Müller

You can't use the body tag, as it's not a separate page, but just some snippet integrated into the index file output of coppermine.
Therefor, use any container in anycontent that you can think of, e.g. a div or a table and assign a background color to that container, using HTML and or CSS. There is nothing special in this aspect when it comes to anycontent.
Examples:<div style="background-color:green;">
    Hello world
</div>
<table>
    <tr>
        <td style="background-color:green;">
            Hello world
        </td>
    </tr>
</table>


Yours is a very basic question - usually, when people ask questions that way, the answer is even easier: you probably even shouldn't be using anycontent.php. In most cases, editing themes/yourtheme/template.html should do the trick.
If you need details: post a link to your gallery and explain what you want to accomplish.
Please understand that we can not teach you HTML/CSS basics.

Joachim Müller