TDCadmin Posted March 13, 2014 Share Posted March 13, 2014 Is it possible to make just ONE cms page have a single column? I want to remove left and right columns to make space for a script from a vendor. Please advise on what other detail may be needed!!Thanks in advance! Link to comment Share on other sites More sharing options...
vekia Posted March 13, 2014 Share Posted March 13, 2014 let's clarify. for example you've got 3 cms pags: delivery terms of service about us now you want, for example, modify terms of service to display it with one wide column, right? Link to comment Share on other sites More sharing options...
TDCadmin Posted March 14, 2014 Author Share Posted March 14, 2014 Yes sir, that is exactly what I am looking to do. I want to do it as a CMS page and not a custom HTML page because my CMS pages are indexed and searchable through my product search. Link to comment Share on other sites More sharing options...
vekia Posted March 14, 2014 Share Posted March 14, 2014 ok, i've got some some solutions for that. i will describe below the easiest one. open header.tpl file (from your theme directory) there is a code like: <body {if isset($page_name)}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'htmlall':'UTF-8'}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if $content_only} content_only{/if}"> change it to: <body {if isset($page_name)}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'htmlall':'UTF-8'}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if $content_only} content_only{/if} {if isset($smarty.get.id_cms)}{if $smarty.get.id_cms==2} MYCMS2{/if}{/if}"> wondering what i changed? at the end of class="" tag inside <body> i added this: {if isset($smarty.get.id_cms)}{if $smarty.get.id_cms==2} MYCMS2{/if}{/if} it will work only for cms page with ID = 2 you can change it to any other id you want (to fit your needs) and paste somewhere in global.css this: .MYCMS2 #left_column, .MYCMS2 #right_column {display:none;} .MYCMS2 #center_column {width:980px!important;} Link to comment Share on other sites More sharing options...
TDCadmin Posted March 14, 2014 Author Share Posted March 14, 2014 (edited) Vekia, This worked perfect. Very simple instructions. I appreciate your help!!!!!! One more question though, How can I adjust the size of the "white" space as seen in the picture below??? http://imgur.com/50XbIY1 Edited March 14, 2014 by TDCadmin (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted March 14, 2014 Share Posted March 14, 2014 due to the fact that it looks like some modifications, can you please share url to your website? Link to comment Share on other sites More sharing options...
TDCadmin Posted March 15, 2014 Author Share Posted March 15, 2014 Sorry just saw this. It is on my test site http://kistdc.esdn.biz/index.php?id_cms=39&controller=cms Also, I meant to post this in presta 1.5 forum.. I am running 1.5.6.2. Can you please move this to the 1.5 forum? Link to comment Share on other sites More sharing options...
vekia Posted March 15, 2014 Share Posted March 15, 2014 Sorry just saw this. It is on my test site http://kistdc.esdn.biz/index.php?id_cms=39&controller=cms Also, I meant to post this in presta 1.5 forum.. I am running 1.5.6.2. Can you please move this to the 1.5 forum? wow! what is this: awesome search tool! Link to comment Share on other sites More sharing options...
sadaf Posted March 16, 2014 Share Posted March 16, 2014 need a small helphttp://www.prestashop.com/forums/topic/314959-footer-is-not-properly-aligned-after-upgrade-to-16rc/ Link to comment Share on other sites More sharing options...
TDCadmin Posted March 16, 2014 Author Share Posted March 16, 2014 Vekia, That tool doesn't search through the product on my website. It is a diamond vendors application (built in iFrame) that searches through their loose diamonds. Link to comment Share on other sites More sharing options...
vekia Posted March 16, 2014 Share Posted March 16, 2014 Vekia, That tool doesn't search through the product on my website. It is a diamond vendors application (built in iFrame) that searches through their loose diamonds. thank you for clarification anyway, it's nice feature, just thought that it's a part of your prestashop engine Link to comment Share on other sites More sharing options...
caroferrerbcn Posted March 17, 2014 Share Posted March 17, 2014 Hi, I have a problem with my CMS admin page, when I try to access it I have a message page that says: "Category cannot be loaded", does anyone now how can I solve this? Many thanks! Link to comment Share on other sites More sharing options...
vekia Posted March 17, 2014 Share Posted March 17, 2014 what prestashop version? what theme you use? is there any chance to see it live? Link to comment Share on other sites More sharing options...
TDCadmin Posted March 17, 2014 Author Share Posted March 17, 2014 (edited) Vekia You didn't answer my other question. If you would I would appreciate it!!! How can i fix the spacing (white space) from the picture ? http://imgur.com/50XbIY1 EDIT: Fixed this. All I did was edit the center margin size in global.css per your code. Also, If i wanted to do this for another CMS page, how would I modify the code? Edited March 17, 2014 by TDCadmin (see edit history) 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