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
 All Forums
 Technical
 ASP (Windows server) versions
 Number of Category Columns
Author « Topic »  

KevinRobson
Advanced Member

USA
243 Posts

Posted - 06/25/2020 :  14:30:31  
I've added categorycolumns=3 to the includes.asp file. The categories.asp page is still showing just 2 columns.

Marshall
Ecommerce Template Guru

USA
1874 Posts

Posted - 06/25/2020 :  17:18:00  
Are you using CSS layout or table based?

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

1818charlie
ECT Moderator

United Kingdom
1177 Posts

Posted - 06/25/2020 :  18:22:43  
Hi Kevin

Is the site the caladiums or the petticoatparlour site? If so the category columns are set via the css file, so look in the ectstyle.css at line 252 for the following and change the red highlight to whatever %age, eg: 25% gives 4 columns

The following os from the caladiums site css
div.category {
width: 43%;
float: left;
line-height: 1.6;
font-size: 0.9em;
padding: 10px;
border: 1px solid #ccc;
margin: 0px 0px 16px 16px;
height: 200px;

Steve

Bolton Lancashire England

Edited by - 1818charlie on 06/25/2020 18:56:44

KevinRobson
Advanced Member

USA
243 Posts

Posted - 08/17/2022 :  11:18:17  
I've set the ectstyle.css to:
div.category{
width: 25%;
float: left;
line-height: 1.6;
font-size: 0.9em;
padding: 10px;
border: 1px solid #ccc;
margin: 0px 0px 16px 16px;

}
Still the categories.asp page show just two columns, http://caladiumworld.com.bizmast.business-masters.info/categories.asp

Is there another place I should look to set the number of columns?

1818charlie
ECT Moderator

United Kingdom
1177 Posts

Posted - 08/17/2022 :  11:27:21  
From the link I am seeing 4 columns - have you carried out a hot browser refresh Ctrl+F5 ?

-----------------------------------------------
Steve
Manchester UK

How to update your store
https://www.ecommercetemplates.com/updater_info.asp

QuickBuy, Product & Product Details Layouts
https://www.ecommercetemplates.com/help/layouts.asp

User Manual - an easy read!
https://www.ecommercetemplates.com/free_downloads.asp#usermanual

Request Updater
https://www.ecommercetemplates.com/updaters.asp

Edited by - 1818charlie on 08/17/2022 11:27:51

Vince
Administrator

42425 Posts

Posted - 08/17/2022 :  11:32:16  
I actually get 4 columns, but I think there is a problem in that the ectcart.css file should come before any site style sheet like the ectstyle.css file. This is because the ectcart.css has very basic styles then your site style sheet should overwrite these. The ectstyle.css should then have this around line 404 instead of what is currently there...

div.category {
width: 24%;
vertical-align: top;
line-height: 1.6;
font-size: 0.9em;
padding: 10px;
border: 1px solid #ccc;
margin: 0.5%;
}

Finally to stop the images overflowing in ectstyle.css around line 969...

img.catimage {
width: 100%;
}

Vince

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

ITZAP
Ecommerce Template Guru

Australia
1006 Posts

Posted - 08/18/2022 :  22:01:18  
Gents, your best CSS solution might be here : Equal height Product Grid rows EASY using FLEXBOX

Gary

KevinRobson
Advanced Member

USA
243 Posts

Posted - 08/24/2022 :  13:24:59  
Thanks to everyone for the advice. Got it!
  « 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