melds Posted October 21, 2015 Share Posted October 21, 2015 i have some content for my home page that I wish to have full width (container fluid) This appears to be controlled in the main body(section id) which has the class of container. How can I change this to be container-fluid for the index.php only, but not affect all the other template pages that use the main-body section. There is nothing in the header.tpl file that refers to this main body content. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted October 22, 2015 Share Posted October 22, 2015 here is how to apply it to homepage class="{if $templatefile=='homepage'}container-fluid{else}container{/if}" 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.