Thordan Posted April 19, 2012 Share Posted April 19, 2012 I am trying to convert the Prestashop_new 1.5 Theme from the 3 column layout to 2 columns and want to remove the right hand column. I adjusted the footer.tpl section but for the life of me cannot figure out how to change the global.css file to increase width value of center column so it fills in the space from the removed right column. Thanks much for any help. SOLVED by jhnstcks (Thanks!): Change width of grid_5 in Line 47 of grid_prestashop.css from 535 to 728 in my case 3 Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 19, 2012 Share Posted April 19, 2012 Hi, Center columns width is set in global.css line 238. The width will be: width of the div with id page - width of left column - margin of left column Link to comment Share on other sites More sharing options...
Thordan Posted April 19, 2012 Author Share Posted April 19, 2012 Thanks much for the reply. This is what I have in global.css line 238: 238: text-shadow:0 1px 0 #000; This is under the heading entry /* table** */ table.std, So unfortunately I am still lost with this. Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 20, 2012 Share Posted April 20, 2012 Please post the URL of your site OR look in global.css for #center_column. Link to comment Share on other sites More sharing options...
Thordan Posted April 22, 2012 Author Share Posted April 22, 2012 Thanks for the suggestion...I looked at all of the center column entries in global.css but I am still stuck. I spend some more time trying to understand how the new 960 grid system works and feel stupid that I am unable to adjust the width. Our page is not really live yet and still in production - I enabled it in hopes that you can help pointing me to the probably obvious line I need to modify. The url to our page is: www.arcticsun-llc.com/store. Thanks for the help. Link to comment Share on other sites More sharing options...
jhnstcks Posted April 22, 2012 Share Posted April 22, 2012 Line 47 of grid_prestashop.css 3 Link to comment Share on other sites More sharing options...
Thordan Posted April 22, 2012 Author Share Posted April 22, 2012 I was sure it must be something that obvious ;-( Thanks much for the help, changeing the width for grid_5 was all I need to do. Link to comment Share on other sites More sharing options...
msk69 Posted May 7, 2012 Share Posted May 7, 2012 I am trying to convert the Prestashop_new 1.5 Theme from the 3 column layout to 2 columns and want to remove the right hand column. I adjusted the footer.tpl section but for the life of me cannot figure out how to change the global.css file to increase width value of center column so it fills in the space from the removed right column. Thanks much for any help. SOLVED by jhnstcks (Thanks!): Change width of grid_5 in Line 47 of grid_prestashop.css from 535 to 728 in my case Would you mind sharing the css? I had a look into it, and found only empty lines, no 535 width specified. Thanks. Link to comment Share on other sites More sharing options...
emiku90 Posted September 28, 2012 Share Posted September 28, 2012 Hello, If i want to fix only the index page to be 700px or bigger and remove the left and right, is it posible? Thanks Link to comment Share on other sites More sharing options...
CartExpert.net Posted September 28, 2012 Share Posted September 28, 2012 Hi. Yes, it is. Regards. Robin. The CartExpert Team Link to comment Share on other sites More sharing options...
emiku90 Posted September 28, 2012 Share Posted September 28, 2012 How? Link to comment Share on other sites More sharing options...
CartExpert.net Posted September 29, 2012 Share Posted September 29, 2012 By setting the styles for: #index #center_column #index #right_column #index #left_column 2 Link to comment Share on other sites More sharing options...
Joe2012 Posted October 2, 2012 Share Posted October 2, 2012 (edited) Hi i new prestashop and use default theme. How to customize Prestashop 1.5 delete left column, right column, and i want adjust size the width and height of the Center column with it. Edited October 2, 2012 by Joe2012 (see edit history) Link to comment Share on other sites More sharing options...
emiku90 Posted October 6, 2012 Share Posted October 6, 2012 By setting the styles for: #index #center_column #index #right_column #index #left_column Thank you very much ! :rolleyes: Works perfectly. Link to comment Share on other sites More sharing options...
sysreb Posted January 11, 2013 Share Posted January 11, 2013 where is the styles ?? By setting the styles for: #index #center_column #index #right_column #index #left_column Link to comment Share on other sites More sharing options...
NewLizard Posted January 13, 2013 Share Posted January 13, 2013 sysreb : just add anywhere in global.css #index #center_column{width:979px} (Please adjust the width according to your requirement, mine is 979) Link to comment Share on other sites More sharing options...
NewLizard Posted January 13, 2013 Share Posted January 13, 2013 (edited) and to remove left column : open header.tpl and replace :</p> and replace <div id="left_column" class="column"> {$HOOK_LEFT_COLUMN} </div> with {if $page_name != 'index'} <div id="left_column" class="column"> {$HOOK_LEFT_COLUMN} </div> {/if} Edited January 13, 2013 by NewLizard (see edit history) 2 Link to comment Share on other sites More sharing options...
tis-marketer Posted January 16, 2013 Share Posted January 16, 2013 (edited) Hi NewLizard, I tried your method and successfully removed the left and right columns. Thank you. But I have this problem --- the featured products, there is no division on this part.. see screenshot. Pls help me? SOLUTION by NewLizard: Change line 7 in modules/homefeatured/homefeatured.tpl to {assign var='nbItemsPerLine' value=7} Edited January 16, 2013 by tis-marketer (see edit history) Link to comment Share on other sites More sharing options...
misaeleka Posted January 20, 2013 Share Posted January 20, 2013 (edited) Hey caram.junior! I try to do it in your instruction, and my slider doesn't work.. it's seems the javascript problem Edited January 20, 2013 by misaeleka (see edit history) Link to comment Share on other sites More sharing options...
w3bsolutions Posted March 28, 2013 Share Posted March 28, 2013 If you just want to get rid of the right column and make the center column adjust automatically, you don't even have to touch the css at all. Open header.tpl and where it says: <div id="center_column" class=" grid_5"> change it to: <div id="center_column" class=" grid_7 omega"> That should work automatically since it pulls the css from grid_prestashop.css 1 Link to comment Share on other sites More sharing options...
retrolicious Posted April 11, 2013 Share Posted April 11, 2013 How do I do the same and remove the left column? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now