Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Changed product layout after update to V7.7
Author « Topic »  

gspillane
Starting Member

Australia
9 Posts

Posted - 01/11/2025 :  22:50:22  
Hi All,

I should be able to find the solution to this but I must be getting too old.

After updating from version 7.2 to 7.7 my products now display 3 per row. They used to be 1 per row.

The store setting in admin allows me to change the number of products per page but not number per row. Maybe a CSS thing but I can't find it.

Could someone please point an ol' fella in the right direction?

Best Regards,
Geoff

Vince
Administrator

42825 Posts

Posted - 01/12/2025 :  09:57:24  
Hi Geoff
It sounds like you had the old, non-CSS layouts before which haven't been the default for quite a while now so unless otherwise specified, the CSS layout is displayed instead. But if you add this parameter to your includes.php file...
$usecsslayout=FALSE;
...then it should put things back how they were before.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

gspillane
Starting Member

Australia
9 Posts

Posted - 01/12/2025 :  14:33:02  
Hi Vince,
Thank you for the explanation and advice. That works as you expected.

The last version I had in place was 7.2 and I had modified all the store PHP files with the couple of lines regarding CSS and JS back then as I didn't need to do it for this 7.7 update, but I don't know why the product listing only showed 1 product per row as I certainly hadn't modified the includes.php file before otherwise it would have been maintained.

I know the use of CSS can be advantageous. What CSS file gives the 3 products per row? I don't mind it, maybe just not used to it. I'll have to ask my customers what they prefer.

Best Regards,
Geoff

Vince
Administrator

42825 Posts

Posted - 01/14/2025 :  00:48:23  
Hi Geoff
This would be an entry in your site style sheet which you can set with something like this for one product per line...

div.product {
width: 99%;
}

We do actually have a product here to convert your old, table-based layouts to CSS layouts...

https://www.ecommercetemplates.com/CSS-Layout-Service

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

gspillane
Starting Member

Australia
9 Posts

Posted - 01/14/2025 :  22:54:15  
Thank you very much Vince. I'll look into it.

Best Regards,
Geoff
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000