AlegroCart open source E-commerce
Alegro Cart Hosting Made Easy

Reduce space between rows

General Support for technical Issues relating to AlegroCart

Reduce space between rows

Postby 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 262 times
kjm306
 
Posts: 11
Joined: Fri Aug 10, 2012 10:54 pm

Re: Reduce space between rows

Postby leo » Sun Sep 16, 2012 12:21 pm

So, you would like to remove product images?
User avatar
leo
admin
 
Posts: 2940
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Reduce space between rows

Postby 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
kjm306
 
Posts: 11
Joined: Fri Aug 10, 2012 10:54 pm

Re: Reduce space between rows

Postby 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.
User avatar
leo
admin
 
Posts: 2940
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Reduce space between rows

Postby kjm306 » Mon Sep 17, 2012 3:46 am

Its working.Thank you very much! :)
kjm306
 
Posts: 11
Joined: Fri Aug 10, 2012 10:54 pm


Return to General Support

Who is online

Users browsing this forum: No registered users and 3 guests

cron