SimplePortal
Support => English Support => Topic started by: Talismen on December 22, 2008, 03:23:29 PM
-
Can any give me any pointers on how to change the background color inside an HTML block?
Thanks!
Tal
-
Find this code from your '/themes/default/SportalBlocks.template.php' file:
<tr class="windowbg" ', (empty($block['force_view']) ? 'id="sp_block' . $block['id'] . '"' : '') , $block['collapsed'] ? ' style="display:none;"' : '', '>
Replace with this code:
<tr', ($block['type'] == 'sp_html' ? ' style="background:#00FF00;"' : ''), ' class="windowbg" ', (empty($block['force_view']) ? 'id="sp_block' . $block['id'] . '"' : '') , $block['collapsed'] ? ' style="display:none;"' : '', '>
That will change the background color of all your html blocks to the '#00FF00' value.
-
Great...thanks much!
Merry Christmas,...Happy Hanukkah...Happy Festivus ;)