mayid Posted January 11, 2011 Share Posted January 11, 2011 I'd like to put content in the main page, but not in a column. I want it to cover 100% of the page width. Now, if i add my html to the index.tpl file, it gets inserted into de center column. How can i avoid that so i can have my html 100% width? Link to comment Share on other sites More sharing options...
tomerg3 Posted January 11, 2011 Share Posted January 11, 2011 It's a little tricky, you will have to do the following:1) Remove the side columns from the homepage (you can add an {if $page_name != 'index'} {/if} around {$HOOK_LEFT_COULMN} (and the right one).2) You will need to create a new CSS class for the homepage with a bigger width, and make sure that class is used only if $page == 'index' Link to comment Share on other sites More sharing options...
mayid Posted January 11, 2011 Author Share Posted January 11, 2011 Mh... I see. So, code could became a little dirty after all.I'll try this implementation but with a variation (leaving alone the css trick you mentioned). But also i realized that the right column, which i'm not using at all, can be set with 100% width... so i should use yor conditional to place content in there.Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts