How to change the Theme Layout

Ref: http://cumulusclips.org/forums/index.php?p=/forums/index.php&p=/discussion/comment/3264

Open the theme file for the page you want to switch to full layout, and add this to the top of the phtml file:

<?php $this->setLayout('full'); ?>

I am bit confused here, I created the clone of Default theme, let's say xyz theme. I can see theme.xml file. First I didn't get "Open the theme file for the page you want" what is page in it and second in which phtml file I should add the code.

Comments

  • edited January 2016
    Let's say for example you want to switch the homepage (it's called index) to use the full width layout instead of the default layout with the sidebar. Open the view file for the index page, it's located at: /cc-content/themes/xyz/index.phtml. Then at the top of the view file add the code snippet:

    <?php $this->setLayout('full'); ?>
  • edited January 2016
    I add the full page layout on Index Page. Now it shows the first 3 video with perfect spacing but 4th is just attached to 3rd and 5th and 6th with proper spacing.

    I am trying to attach the screen shot but I think "Attach a file" link is not working. Check this at http://helpme.co.in/cumulusclips/
This discussion has been closed.