I would like to have a config.php file which contains a bunch of different variables for my site.
a few of the variables are...
$bkground = "#FFFFFF"; //White
$colour1 = "#E8EFFF"; //Very Light Blue
$colour2 = "#91B5FF"; //Light Blue
$colour3 = "#000000"; //Black
and i would like to setup a style.css file for the site.
some code from the style.css file
body
{
Background-Color: White;
Font-Family: Arial;
Background: White;
Color: #000000
Font-Size: 12pt;
}
I would like to replace Color: #000000 with the $colour3 variable.
I tried to set it up the color line like.....
Color: <?php $colour2 ?>;
also tried...
Color: <?php $colour2; ?>;
but neihter worked for me. I don't get any errors or anything, I just don't get colour from the variable, just black text.
Do i just have a simple coding error, or is it not possible to drop php variables into the style.css file?