Hi there, thank goodness I have found this forum!
I am trying to make simple mods to a custom theme and have got everything changed except one thing that I have spent ages on trying different combinations!
I want to change the background color of the ID=Headarea and whilst I did managed to do it, it then lost the padding codes .....
Here is the line I have isolated as the one to change:
<div id="headerarea" style="padding: 12px 30px 4px 30px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">';
In what format and where do I include the bgcolor="#667899" ???
I have tried everything and am now resorting to asking the experts ;-)
You should change colors in the css files, not hardcode them in your templates.
Matrix,
I have looked in the CSS file and can find no tag that relates to the DIV Headarea section so can not change it there. I know it must be picking up the bg color of this area from somewhere as I have already changed the bgcolor via CSS and it's not using that.
I have noted some areas of the index-template have tables etc that have the colors hardcoded and not picked up via CSS.
I know the format of html and perl but am completely new to PHP syntax so wondered how I include the bgcolor tag within the php line shown above.