Latest News: (loading..)
10 replies to this topic
#1
Posted 13 July 2012 - 02:41 PM
Hello folks.
I trying to use 960 grid system on my shop, but i need a 12 column.
Its possible on oscommerce use 12 column besides 24 as?
Ty
Rafael
I trying to use 960 grid system on my shop, but i need a 12 column.
Its possible on oscommerce use 12 column besides 24 as?
Ty
Rafael
OScommerce Rocks!
#2 ONLINE
Posted 13 July 2012 - 02:59 PM
Why you want a 12 column?
The 960gs affect only the 2 columns and main body, so if you want the columns wider, just let them be more grids.
The 960gs affect only the 2 columns and main body, so if you want the columns wider, just let them be more grids.
Community profile | Partner page | NEW : Feedback Chanel
#3
Posted 14 July 2012 - 07:20 PM
But in what file are the <div's> to make the changes?
Ty multimixer
Ty multimixer
OScommerce Rocks!
#4 ONLINE
Posted 15 July 2012 - 05:22 AM
@Celebrimbor
Maybe you explain first what you want to achieve, so I can be more concrere, others of course too.
Till now, all you said is that you want 12 columns
Anyway, you could also take a look to here and here about how to change the column width
Maybe you explain first what you want to achieve, so I can be more concrere, others of course too.
Till now, all you said is that you want 12 columns
Anyway, you could also take a look to here and here about how to change the column width
Community profile | Partner page | NEW : Feedback Chanel
#5
Posted 15 July 2012 - 01:13 PM
Thank you very much for your support.
Searching on oscommerce forum i see that oscommerce uses only 24 columns, and as you said, i can do the same on 24 columns.
Follow atached a simple layout as i need my site.
Rafael
Searching on oscommerce forum i see that oscommerce uses only 24 columns, and as you said, i can do the same on 24 columns.
Follow atached a simple layout as i need my site.
Rafael
Attached Files
OScommerce Rocks!
#6 ONLINE
Posted 15 July 2012 - 02:11 PM
@Celebrimbor,
even I can't see the grids you intent to use for each section, sure thing is, that there is nothing you can't do with a 24 grid that you could with a 12
I thing that all you have to do is, to change the grids of he left column, if even necessary
even I can't see the grids you intent to use for each section, sure thing is, that there is nothing you can't do with a 24 grid that you could with a 12
I thing that all you have to do is, to change the grids of he left column, if even necessary
Community profile | Partner page | NEW : Feedback Chanel
#7
Posted 15 July 2012 - 04:04 PM
Yes... i think that is the road.
And after arrange left column, play with grids on main.
Ty Multimixer
And after arrange left column, play with grids on main.
Ty Multimixer
OScommerce Rocks!
#8 ONLINE
Posted 15 July 2012 - 04:19 PM
The main part of osCommerce is not constructed using grids
It looks basically like this:
grid_4 (left column) ---- grid_16 (middle part) ---- grid_4 (right column)
In case of only 1 column, it adjust automatically like this
grid_4 (left column) ---- grid_20 (middle part)
That mean, that you need to know in advance how many columns you plan to use, so you know what grid you are in, a 16 or a 20, I mean in case you want to use the grid system within the main content part
It looks basically like this:
grid_4 (left column) ---- grid_16 (middle part) ---- grid_4 (right column)
In case of only 1 column, it adjust automatically like this
grid_4 (left column) ---- grid_20 (middle part)
That mean, that you need to know in advance how many columns you plan to use, so you know what grid you are in, a 16 or a 20, I mean in case you want to use the grid system within the main content part
Edited by multimixer, 15 July 2012 - 04:19 PM.
Community profile | Partner page | NEW : Feedback Chanel
#9
Posted 16 July 2012 - 12:26 AM
After all changes.
My website starts with this lag, as picture attached.
I dont know how fix the lag between left column and main content.
any sugestions?
the site is panobendito.com.br
i removed all boxes from right column.
My website starts with this lag, as picture attached.
I dont know how fix the lag between left column and main content.
any sugestions?
the site is panobendito.com.br
i removed all boxes from right column.
Attached Files
OScommerce Rocks!
#10
Posted 16 July 2012 - 03:24 AM
Problem solved.
I fixed the file osc_template.php.
I put now the correct values for columns and container
class oscTemplate {
var $_title;
var $_blocks = array();
var $_grid_container_width = 24;
var $_grid_content_width = 16;
var $_grid_column_width = 4; >>> correct value. 4 grids for each column. Was 8. lol
Hope that this help others.
Cya
rafael
I fixed the file osc_template.php.
I put now the correct values for columns and container
class oscTemplate {
var $_title;
var $_blocks = array();
var $_grid_container_width = 24;
var $_grid_content_width = 16;
var $_grid_column_width = 4; >>> correct value. 4 grids for each column. Was 8. lol
Hope that this help others.
Cya
rafael
OScommerce Rocks!
#11
Posted 06 August 2012 - 09:47 PM
can someone help me.
i want to remove the left column from just the "product_info" page.
the rest of the pages apart from home page have the left column and the main body content.
ive been trying for hours and nothing has come up in the forums or search engines.
all i want is for the product info page to have no left column and for the body content to go the full width which is 24 in the grid.
if i go to template_bottom there is some code there, but i dont know what to do to it.
i want to remove the left column from just the "product_info" page.
the rest of the pages apart from home page have the left column and the main body content.
ive been trying for hours and nothing has come up in the forums or search engines.
all i want is for the product info page to have no left column and for the body content to go the full width which is 24 in the grid.
if i go to template_bottom there is some code there, but i dont know what to do to it.










