Change Background Color of BTO Categories |
Post Reply | Page 12> |
Author | |
mjamato714
Newbie Joined: 08-September-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 08-September-2008 at 12:46pm |
The Product Cart user manual describes how to alternate background shading for each individual product. I am looking to add a seperate background for each complete category. For example, category one, and all products offered in that category, would be set on its own bakground that will be different from the background that category 2 etc. are set on. Does anyone know if this is possible? All help will be highly appreciated.
I am using Product Cart version 3.12bcm.
|
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hi,
I'm sure it's possible, but am equally certain it would involve some custom code. Don't forget, if you use images as background then there is an extra overhead as each time a new category is downloaded those images are downloaded. |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Ah, sorry - As per the title, it's just a color change then the overhead is very low indeed, if any at all. Just out of curiosity, why do you want to do this? Picking a range of colors that go with your overall design could get difficult if/when you get a large number of categories.
|
|
mjamato714
Newbie Joined: 08-September-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Thanks for the responses.
What we are really trying to do is implement a gradient that starts and ends in each separate category. The gradient would be the same in every category, so hopefully we could find a way to implement a universal change. If we can figure out how to modify the background in each separate category, we will probably be able to figure out how to add the gradient. The reason we want to add this gradient is to break up the BTO categories to create more of a step by step process feel instead of having a very long list of products with only the category heading separating the categories. Originally, we wanted to have separate pages for each category, but from our research, that seems to be even more difficult of a source code modification. |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hi, Do you mean the categories of BTO Items in a configurePrd page?
If so, take a look at www.chivesonline.co.uk/shop/pc/configurePrd.asp?idProduct=70 - Is this what your after? |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
BTW - This has a further, related Mod, to make the BTO items list two wide and more compact.
Edited by Hamish - 08-September-2008 at 8:01pm |
|
mjamato714
Newbie Joined: 08-September-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Listing products in multiple columns like that website is another thing we really wanted to look into. Our site would require certain categories to be formatted differently, however. One category would have one column of products while other categories would have two or three columns for example. That website does not have any sort of background for each separate product category as far as i can see. The "meat items," "cheese items," etc. are all on the same white background. The ideal solution that i am looking for would be to box off each category, have the fading gradient start and end in each category and format some categories differently than others (creating multiple columns of products, for example).
|
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hi,
BTO as supplied supports alternating backgrounds via CSS. To modify the look we examined the page source code from the generated pages and then examined the ASP source code to work out what to change & where. The multi-column was, if I remember correctly, a much trickier modification. |
|
mjamato714
Newbie Joined: 08-September-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Great, thanks for all your help with this. I will post further questions in the future regarding some of these issues once i explore this a bit more.
|
|
DTyler
Newbie Joined: 12-December-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
You could create a gradient image and refer to that image in pcstorefront.css in the BTOfirstrow and BTOsecondrow lines via the background-image command.
The gradient would be finite in height, but you could stop it from repeating via the background-repeat: repeat-x command in case you had a large number of options.
Hope that helps!!
|
|
Post Reply | Page 12> |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |