This won't work for you:```
background-image: url(/images/bg1.gif);
the / before images/bg1.gif is causing your problems.
on your main site, it's fine:
<http://yoursite.com/images/bg1.gif>
but on your secure site, it becomes:
<https://securesite.com/images/bg1.gif>
instead of:
<https://securesite.com/yourdomain/images/bg1.gif>
That's why you'll find that template graphics are better put in the /includes/templates/yourtemplate/images folder. That way it would be used like this:
background-image: url(../images/bg1.gif);
The ../ denotes "relative to the css file path", which is located at:
/includes/templates/yourtemplate/css/stylesheet.css
thus, if your image file is at:
/includes/templates/yourtemplate/images/bg1.gif
then it will load properly with both secure and non-secure URL's.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.