hb5jha
Last Updated: February 25, 2016
·
785
· dannyoutlaw

Create a PHP/CSS file

//Change to appropriate global variable
<?php global $authority; ?>

<style type="text/css">

//Basic CSS can go in here if need be. 
body.custom-background {
background-color: white !important;
}  

//Example of PHP creating CSS
<?php if($authority['center-logo'] == '1') { echo "#logo img {margin: auto;}"; } ?>

</style>
Say Thanks
Respond

1 Response
Add your response

17851
None

Not really a best one. You could generate the file by cron and then just include it with the link tag, as usual. This way the CDN can be used, for example.

over 1 year ago ·