DillyDog Posted July 18, 2013 Share Posted July 18, 2013 Hi I have already tweaked the footer.tpl file to give me 1 column on the index page, and commenting out the line gives me an error. How would I go about getting one column on the index page and 2 columns everywhere else? {if !$content_only} </div> <!-- Right --> {if $page_name !='index'} <div id="right_column" class="column grid_2 omega"> {$HOOK_RIGHT_COLUMN} </div> {/if} </div> <!-- Footer --> <div id="footer" class="grid_9 alpha omega clearfix"> {$HOOK_FOOTER} {if $PS_ALLOW_MOBILE_DEVICE} <p class="center clearBoth"><a href="{$link->getPageLink('index', true)}?mobile_theme_ok">{l s='Browse the mobile site'}</a></p> {/if} </div> </div> {/if} </body> </html> Link to comment Share on other sites More sharing options...
vekia Posted July 18, 2013 Share Posted July 18, 2013 i moved your question to the separate thread because it isn't related to the main case of the topic (where you posted it) i think that my little blog entry will be helpfull in this case: two columns design in prestashop and compare it with one column design in prestashop Link to comment Share on other sites More sharing options...
NemoPS Posted July 20, 2013 Share Posted July 20, 2013 This part {if $page_name !='index'} <div id="right_column" class="column grid_2 omega"> {$HOOK_RIGHT_COLUMN} </div> {/if} Seems okay to me, what kind of error are you experiencing? Link to comment Share on other sites More sharing options...
vekia Posted July 20, 2013 Share Posted July 20, 2013 hello Nemo1 problem is solved, check this thread: http://www.prestashop.com/forums/topic/258367-two-culomn-layout-and-other-my-questions/page__p__1310453 Link to comment Share on other sites More sharing options...
NemoPS Posted July 20, 2013 Share Posted July 20, 2013 and that's because of me not looking into all topics 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