Could someone please tell me how I change css (Rainbow) so that "special offer" products are displayed the same as "top sellers"?
Ned
18 Aug 2008 2:18 PM
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
18 Aug 2008 4:39 PM
No, Ned, I just want to change font and images size to be the same
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)
19 Aug 2008 2:57 PM
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
19 Aug 2008 5:24 PM
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 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.
Chris
SajMalik
19 Aug 2008 7:12 PM
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?
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