joope Posted May 21, 2010 Share Posted May 21, 2010 What file should I look for to make a change to the design of my front page? Thanks Link to comment Share on other sites More sharing options...
rocky Posted May 22, 2010 Share Posted May 22, 2010 It depends how you want to change the design. If you simply want to choose which modules are displayed on the front page and the order they display in, go to Modules tab and Modules > Positions. If you want to change the CSS of the frontpage, you'll need to edit css/global.css in your theme's directory. Link to comment Share on other sites More sharing options...
joope Posted May 22, 2010 Author Share Posted May 22, 2010 Thanks. yes what i would like to do is see if i can add some new sections on the front page that would represent different categories w/pictures. So i guess that would be the CSS file your were speaking of. Link to comment Share on other sites More sharing options...
rocky Posted May 22, 2010 Share Posted May 22, 2010 If you want to copy the featured products section and put different categories of products in each, you'll need to copy and rename the homefeatured module to something like homefeatured2, then rename the folder and homefeatured.php to homefeatured2.php, then edit homefeatured.php and change the class name to HomeFeatured2 and $this->name to 'homefeatured2', then edit the hookHome section to get the ID of the category you want instead of the home category 1. Link to comment Share on other sites More sharing options...
joope Posted May 23, 2010 Author Share Posted May 23, 2010 i'm needing to understand that the .css global file is what i need to change to make changes only to the frontpage and rest of the pages? Link to comment Share on other sites More sharing options...
rocky Posted May 23, 2010 Share Posted May 23, 2010 Yes, all of PrestaShop's CSS is in global.css, except for the maintenance page and scenes CSS. Link to comment Share on other sites More sharing options...
Recommended Posts