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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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