I want to be able to use the 3 grid layout, however to make it look right I need to move the product title and price to below the thumbnail.
Being a complete novice and beginner, I would appreciate your help.
Thanks
[url]http://213.175.196.220/~mainhost/index.php[/url] - does look too good right now
This should help you:
[url]http://forum.cs-cart.com/showthread.php?t=13142&highlight=grid+view[/url]
The code didnât work, it deleted the whole grid?
Looks like âproduct gridâ is the way to go. Youâll need to adjust some css to align descriptions to the left"
.multicolumns-list .center {
text-align: left;
Maybe will be better just change the class â.centerâ to â.leftâ in the tpl file that control the product grid view. I canât tell right now.
[quote name=âcolortoneâ]Looks like âproduct gridâ is the way to go. Youâll need to adjust some css to align descriptions to the left"
.multicolumns-list .center {
text-align: left;
Maybe will be better just change the class â.centerâ to â.leftâ in the tpl file that control the product grid view. I canât tell right now.[/QUOTE]
Which template?
/skins/my_skin/customer/blocks/product_list_templates/products_grid.tpl
Code:
{* $Id: products_grid.tpl 11191 2010-11-11 11:56:01Z klerik $ }
{* template-description.products_grid **}
{include file=âblocks/list_templates/products_grid.tplâ
show_trunc_name=true
show_sku=true
show_rating=true
show_old_price=true
show_price=true
show_clean_price=true
show_add_to_cart=$show_add_to_cart|default:true
show_list_buttons=true
but_role=âactionâ
separate_buttons=true
no_pagination=$no_pagination}
This is for 2.1.4 CE (Friendly note: never trust any advice blindly, backup your files first)
in /skins/basic/customer/blocks/list_templates/products_grip.tpl, line 30
Colortone, Iâve managed to do it, but need to line the text and price up centrally. By default, âproduct gridâ layout, place the image up and the text below centered. the adjustment I pointed earlier, move the text and price to the left ( I thought that is what youâre looking). In order to centralise prices and product names, I replaced the code: {$smarty.capture.$name} {$smarty.capture.$name} [quote name=âThe Jokerâ]In order to centralise prices and product names, I replaced the code: {$smarty.capture.$name} {$smarty.capture.$name} [quote name=âjohnbol1â]Nice one thanks:D
It requires change only 1 word:
This is only for the âproduct gridâ view layout.
Thanks for the advice and thankfully I had backed everything up.
I have made the change and the layout remains the same.
Using Firebug I changed the HTML code by adding a and that worked a treat, but Iâm not sure how to do this in CSS
Thanks
Any help would be apprecaited.
But If you want centered, just use the product grid by default, without any adjustments.
{assign var=ânameâ value=âname_$obj_idâ}
with this one:
{* [mink] }
{assign var=ânameâ value=âname_$obj_idâ}
{ [/mink] *}
in the âgrid_list.tplâ file in the âskins/your_skin/customer/blocks/list_templatesâ directory of your CS-Cart installation
{assign var=ânameâ value=âname_$obj_idâ}
with this one:
{* [mink] }
{assign var=ânameâ value=âname_$obj_idâ}
{ [/mink] *}
in the âgrid_list.tplâ file in the âskins/your_skin/customer/blocks/list_templatesâ directory of your CS-Cart installation[/QUOTE]
Nice one thanks:D
Hey that Phil Taylor picture for your live help icon really cracks me up lol
JOhn
Hey that Phil Taylor picture for your live help icon really cracks me up lol
JOhn[/QUOTE]
Thatâs on our old cart, canât seem to get to sit right on the CS Cart