Latest News: (loading..)
Sign in to follow this  
Followers 0
Celebrimbor

960 Grid System

11 posts in this topic

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

Share this post


Link to post
Share on other sites

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.

Celebrimbor likes this

Share this post


Link to post
Share on other sites

But in what file are the <div's> to make the changes?

 

Ty multimixer

Share this post


Link to post
Share on other sites

@@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

Celebrimbor likes this

Share this post


Link to post
Share on other sites

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

post-143675-0-81624600-1342358013_thumb.png

Share this post


Link to post
Share on other sites

@@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

Celebrimbor likes this

Share this post


Link to post
Share on other sites

Yes... i think that is the road.

 

And after arrange left column, play with grids on main.

 

Ty Multimixer

Share this post


Link to post
Share on other sites

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

Edited by multimixer
Celebrimbor likes this

Share this post


Link to post
Share on other sites

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.

post-143675-0-49394800-1342398110_thumb.png

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0