Celebrimbor Posted July 13, 2012 Share Posted July 13, 2012 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 Quote OScommerce Rocks! Link to comment Share on other sites More sharing options...
multimixer Posted July 13, 2012 Share Posted July 13, 2012 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 1 Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
Celebrimbor Posted July 14, 2012 Author Share Posted July 14, 2012 But in what file are the <div's> to make the changes? Ty multimixer Quote OScommerce Rocks! Link to comment Share on other sites More sharing options...
multimixer Posted July 15, 2012 Share Posted July 15, 2012 @@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 1 Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
Celebrimbor Posted July 15, 2012 Author Share Posted July 15, 2012 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 Quote OScommerce Rocks! Link to comment Share on other sites More sharing options...
multimixer Posted July 15, 2012 Share Posted July 15, 2012 @@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 1 Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
Celebrimbor Posted July 15, 2012 Author Share Posted July 15, 2012 Yes... i think that is the road. And after arrange left column, play with grids on main. Ty Multimixer Quote OScommerce Rocks! Link to comment Share on other sites More sharing options...
multimixer Posted July 15, 2012 Share Posted July 15, 2012 (edited) 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 July 15, 2012 by multimixer Celebrimbor 1 Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
Celebrimbor Posted July 16, 2012 Author Share Posted July 16, 2012 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. Quote OScommerce Rocks! Link to comment Share on other sites More sharing options...
Celebrimbor Posted July 16, 2012 Author Share Posted July 16, 2012 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 Quote OScommerce Rocks! Link to comment Share on other sites More sharing options...
vampirehunter Posted August 6, 2012 Share Posted August 6, 2012 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.