Reduce space between rows

General Support for technical Issues relating to AlegroCart
Post Reply
kjm306
Posts: 19
Joined: Fri Aug 10, 2012 10:54 pm

Reduce space between rows

Post by kjm306 » Sun Sep 16, 2012 8:57 am

Hi,
Where I have to make changes to reduce the space between rows in product listing page as seen in the screenshot.

Thanks in advance
Attachments
Screenshot_2.png
Screenshot_2.png (26.07 KiB) Viewed 5578 times

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Reduce space between rows

Post by leo » Sun Sep 16, 2012 12:21 pm

So, you would like to remove product images?

kjm306
Posts: 19
Joined: Fri Aug 10, 2012 10:54 pm

Re: Reduce space between rows

Post by kjm306 » Mon Sep 17, 2012 12:15 am

Yes. I have planned to sell electronic components like resistors,capacitors,transistors etc. So, I think, adding image for each component with different specification is difficult in this case.

Thank you

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Reduce space between rows

Post by leo » Mon Sep 17, 2012 12:41 am

You have to edit the catalog/template/default/shared/multiple_columns.tpl file.

Code: Select all

if (!$columns){
    $columns = 3;}
	$column_width = (int)(100-$columns)/$columns;
	if ($columns > 3){
	 $font_size = 9;
	 $button_font = 9;
	 $min_height = 220;
	} else {
         $font_size = 10;
	 $button_font = 11;
	 $min_height = 250;
	}
Change $min_height(s) to whatever you want.
You have to modify in default.css the .module_content min-height as well.

kjm306
Posts: 19
Joined: Fri Aug 10, 2012 10:54 pm

Re: Reduce space between rows

Post by kjm306 » Mon Sep 17, 2012 3:46 am

Its working.Thank you very much! :)

Post Reply