css file paths and https
Permalink
Hey guys - came across a new issue today. I've just added an SSL cert to a site, just for one page. The problem is background images loaded via the main.css files. The images are held in '/themes/mytheme/images/' and I'm linking to them like this: 'url(images/myimage.png)'. C5 then automagically changes this to a full URL, but always using http, not https. I've tried altering the path to 'url(/themes/mytheme/images/myimage.png)', but this gets converted to 'http://mysite.com/themes/mytheme//themes/mytheme/images/myimage.png'.
Am I making sense? Any advice appreciated!
Thanks,
Jon
Am I making sense? Any advice appreciated!
Thanks,
Jon
![dpidan](/files/avatars/2778.jpg)
Same issue here. Did you have any luck fixing it?
See:
http://www.concrete5.org/community/forums/customizing_c5/appending-...
(basically, don't use $this->getStyleSheet() or $this->getThemePath() to include your stylesheet -- instead just include it with a normal link tag like you would on any other site)
http://www.concrete5.org/community/forums/customizing_c5/appending-...
(basically, don't use $this->getStyleSheet() or $this->getThemePath() to include your stylesheet -- instead just include it with a normal link tag like you would on any other site)