I changed my colors using the function in the template file below. However it doesn't work right, I can see my new colors in the header but whenever I click on my new colors, it shows the old colors unles I hit refresh then it shows my colors. I thought it was my PC cache and emptied it but that didn't help. I used a different PC and it's the same thing. What am I missing?







try another color:

Comments

fehin’s picture

Don't know why the function didn't show in my post above but here is:

<div id="farben">
<a href="#" style="background-color:#000000;" onclick="toggle_style(\'#000000\');"></a>
<a href="#" style="background-color:#006699;" onclick="toggle_style(\'#006699\');"></a>
<a href="#" style="background-color:#CCCCCC;" onclick="toggle_style(\'#CCCCCC\');"></a>
<a href="#" style="background-color:#990000;" onclick="toggle_style(\'#990000\');"></a>
<a href="#" style="background-color:#003366;" onclick="toggle_style(\'#003366\');"></a>
<a href="#" style="background-color:#FF9900;" onclick="toggle_style(\'#FF9900\');"></a>
<span style="margin-left:20px;">try another color: </span>
</div>
fehin’s picture

I figured out what the problem is. I didn't change the toggle style color, I changed only the background and save color.