View Single Post
  #6  
Old 03-06-2014, 07:28 PM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: XC5 Homepage layout

Sorry, but there is no setting of defining how many columns should be displayed, but this appearance option can be altered by the mod.

As for CSS rules for the home page only, you can alter the classes/XLite/Module/Tony/HomePageWithoutSidebar/View/Content.php viewer and define there the following method:

Quote:
public function getJSFiles()
{
$result = parent::getJSFiles();

if ('main' == $this->getTarget()) {
$result[] = 'modules/Tony/HomePageWithoutSidebar/css/css.css';
}

return $result;
}

and X-Cart 5 will load this CSS file only for homepage. Of course, in this case, you will need to create the skins/default/en/modules/Tony/HomePageWithoutSidebar/css/css.css file with needed rules.
Reply With Quote