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

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

[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