Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
SajMalik
SajMalik
Could someone please tell me how I change css (Rainbow) so that "special offer" products are displayed the same as "top sellers"?
 
Ned
Ned
I presume you want a horizontal layout rather than a column?
 
It doesn't look as easy as it seems, Chris, as the special offer block contains a lot more information than the top rated block. The "specials" block is therefore ordered vertically to fit it in and has nested tables.
 
So its just not about the css you have to change the "block_offers.html" template as well. You could try copying that to your users layout folder on a non production server and fiddling with it?
Last modified: 18 Aug 2008 2:19 PM
 
SajMalik
SajMalik
No, Ned, I just want to change font and images size to be the same Smile
 
Chris
 
Ned
Ned
block_offers.html (6Kb)  
Chris, drop the attached into your templates layout folder and have a gander to see if it gets part way there?
 
[Later - see below ]
Last modified: 20 Aug 2008 8:32 AM
 
tony (Guest)
tony (Guest)
Greetings
 
Chris, try uploading a replacement image in reduce size, be sure to change the name of the image. Otherwise replace an image from "Top Seller" into "Special Offer" and see what happens.
 
For the moment the font size appear to be the same, but its difficult to compare the font sizes, with my slow connection today. By-the-way congratulation you have greatly improve the appears of your site.
 
 
HolleyLand.com
Tony
 
SajMalik
SajMalik
Tony
" a replacement image in reduce size " Special Offers are standard products and I feel that ; the one I need is already there as /tiny/filename.jpg Wink The font size is larger for the Special Offer products than for Top Sellers
 
Thank's Ned
- your help is appreciated. I will let you know how I get on. Smile
 
Chris
 
SajMalik
SajMalik
I have worked through the styles file - rainbow.css; I created a copy of block_offers,html and put this in my own templates file and then created new style names which have been appended to the foot of the .css file to fix font styles.
 
My problem now is the image. The file block_offers.php specifies "small_image" and I want this to be tiny image.
 
There are many references to this image and a sql line: $sql .= " i.small_image, i.small_image_alt, i.special_offer ";
 
This is an area in which I am not confident - and it is not a template file so it will get overwritten on upgrade - any help please?
 
Chris
 
Ned
Ned
block_offers.php (22Kb)  block_offers.html (6Kb)  
Smile Thats why I said I was part way there.
 
With regard to the upgrade issue if I change a core php file I put the original in a new folder"changed" with sub folders of admin and block. Im in the process of suggesting a fix for overwriting to ViArt. See http://www.viart.com/php_modification.html
 
Ive re-uploaded two files for you to try Chris.
 
 
Last modified: 21 Aug 2008 8:27 AM
 
SajMalik
SajMalik
Thank you Ned Smile