weblinsolutions Posted November 19, 2013 Posted November 19, 2013 Hello, I've setup a oscommerce site for testing here: http://oscommerce.yzi.me/ I've been trying to increase the column size but not able to do it. Whenever I increase the wrapper size the other right column comes below the left column. I even edited the osc_template.php but there is no change on the site. Then I created a 1032 gs960 css file and placed and sourced it in the template_top.php file but the site width didn't increased nor did the column width. Please tell me a way to increase the site column width. Thanks!
burt Posted November 19, 2013 Posted November 19, 2013 Change the osc_template class file. var $_grid_column_width = 4; But beware that this: var $_grid_content_width = 16; + 2 of this: var $_grid_column_width = 4; must add up to 24. Eg: 12 + 6 (+6) 10 + 7 (+7)
weblinsolutions Posted November 19, 2013 Author Posted November 19, 2013 I have already mentioned in the first post that I've edited the file and my currents values are: var $_grid_container_width = 24; var $_grid_content_width = 16; var $_grid_column_width = 4; but this doesn't increase the left column width nor do the right column width.
De Dokta Posted November 19, 2013 Posted November 19, 2013 Hi, try this add-on by Gergely with the little modification I made. Greetz J.J.
burt Posted November 19, 2013 Posted November 19, 2013 4 is the default. You need to change it to 6. Or whatever, then change the content_width from 16 to 12 (or whatever).
weblinsolutions Posted November 19, 2013 Author Posted November 19, 2013 4 is the default. You need to change it to 6. Or whatever, then change the content_width from 16 to 12 (or whatever). I changed the values but still the coulumn width is same. I use a custom theme, btw.
burt Posted November 19, 2013 Posted November 19, 2013 Then you have broken the default functionality of osCommerce...
weblinsolutions Posted November 19, 2013 Author Posted November 19, 2013 Then you have broken the default functionality of osCommerce... So, what should I do? I think if I increase the site wrapper size the columns will automatically increase. How to do it?
♥14steve14 Posted November 19, 2013 Posted November 19, 2013 Its going to be very difficult for any one to give you worthwhile help as the code has been altered from the standard install. What you need to do is to work out how you have changed the core code and then alter it accordingly. You could also try contacting the template designer if you are using a template, but I bet they will not be interested in helping you. REMEMBER BACKUP, BACKUP AND BACKUP
Recommended Posts
Archived
This topic is now archived and is closed to further replies.