X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   https images question (https://forum.x-cart.com/showthread.php?t=29309)

Lee 03-02-2007 01:06 AM

https images question
 
Morning all,

I have searched the forum for an answer to this without much success.

I have created a new submenu that uses CSS positioning and the header part of each panel is a class item that contains an image link in the CSS code. i.e. -

.basket{background:url("http://www.lasertechgroup.com/12ls06dev/skin1/images/a/basket.gif") no-repeat;}

I have our store switching to https upon login and these images within my css are being highlighted as non-secure items. Now I realise they are aboslute links but if I change them to a relative link I get the same problem, is there a setting in the admin that just switches the images even if the call is from https?

Anyone had a similar problem?

Thanks,

inebriate 03-02-2007 01:46 AM

Re: https images question
 
why dont you just remove http://www.yourdomain.com/skin1/ and leave the rest of the url?

balinor 03-02-2007 03:15 AM

Re: https images question
 
In the css file, you simply need to use images/imagename..no need for the full url.

Lee 03-04-2007 06:24 AM

Re: https images question
 
thanks fellas,

was just being really stupid as I had my local version style sheet in a different directory to what it was live on the server!

Too many balls to juggle :)


All times are GMT -8. The time now is 07:15 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.