| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Setting images within CSS | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Setting images within CSS
===============================================
How do you set images in CSS... for instance I created a gif for bulleted lists and I would like to use CSS to replace the bullet with the gif... Code:
However this does not appear to work with x-cart... I'm thinking it has something to do with these{ }... any ideas? --------------------------------------------------------THANKS------------------- HYPERDELICIOUS =============================================== =============================================== |
|||||||||
#2
|
|||||||
|
|||||||
...
Are you putting it into the tpl your using it in or did you put it in the CSS file that x-cart already has? If your using it in the tpl you could also try putting {literl} {/literal} in the beginning and end.
__________________
-tmx- |
|||||||
#3
|
|||||||||
|
|||||||||
Editing skin1.css
===============================================
I placed the following code into skin1.css... therefore I am editing the Style Sheet x-cart came with... Code:
any ideas... how to get this to work? --------------------------------------------------------THANKS------------------- HYPERDELICIOUS =============================================== =============================================== |
|||||||||
#4
|
|||||||||
|
|||||||||
I would imagine that you would have to use the full url to the bullet image.
Quote:
See if that works
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#5
|
|||||||
|
|||||||
...
Try this, Put this into your CSS File...
Code:
And then to list set it up like so... Code:
__________________
-tmx- |
|||||||
#6
|
|||||||||
|
|||||||||
Thanks
===============================================
Thanks Shan, I had tried the absolute URL and it did not work... but checking your code against mine I realized I forgot a '/ ' ... my code actually looked like this... Code:
Human error... anyway do you think it will screw with the SSL key since the image is being pulled from http:// rather than https://? If so do you think I should change the URL of the image to https://? -------------------------------------------------------THANKS-------------------- HYPERDELICIOUS =============================================== =============================================== |
|||||||||
#7
|
|||||||||
|
|||||||||
yeh, just set it from hte https sever and it will be fine for both then
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#8
|
|||||||||
|
|||||||||
Thanks
===============================================
Thanks again Shan... I appreciate your help/advice. --------------------------------------------------------------THANKS------------- HYPERDELICIOUS =============================================== =============================================== [/b] |
|||||||||
#9
|
|||||||
|
|||||||
If you set the url as relative to the skin1.css file this will work.
ie. LI { list-style-image : url(images/li_bullet.gif); vertical-align : middle; color : #40445E; font-weight : bold; }
__________________
ex x-cart guru |
|||||||
|
|||
X-Cart forums © 2001-2020
|