| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
css positioning | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I've got a div that is set for certain conditions, basically it displays a 'new' logo for newly added products.
the css that controls the div is: Code:
my problem is that it sits over the product description. Can anyone help me change it so the text preferably goes around the image/div? url: http://www.willowtreecrafts.co.uk/shop/product.php?productid=13940&cat=7&page=1 tia
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() over complicated I believe.
Put the code directly before the element you wish to have it wrap around. The description here. then the css should be. background:transparent url(http://www.willowtreecrafts.co.uk/shop/skin1/images/sticker/stickerblue128new.png) no-repeat scroll right top; float:right; height:128px; margin:1px; width:128px;
__________________
xcart 5.1.2 |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() nice site btw
__________________
xcart 5.1.2 |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() also if you call the image with an absolute path using http in the css instead of a relative path IE will bug out and say 'some items on this apge are not secure' when using HTTPS.
you can always call images in the skin1/images folder with just this. background:url(images/imageName.jpg);
__________________
xcart 5.1.2 |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() the thing is that it's dependant on an extra field, so it is only parsed to the page through the extra_fields/product.tpl template that is called further down the page.
Thanks!
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() It can still be dependent on the extra field and placed right before the description.
__________________
xcart 5.1.2 |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() I'll get to those later
![]() Thanks for the help, the new and free postage images seem to be playing nicely now,
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
|
|||
X-Cart forums © 2001-2020
|