matteo_mont Posted July 18, 2013 Share Posted July 18, 2013 Hi there, I need the support of all of you I'm going to change the layout of my prestashop 1.5.4.1 I want to modify the home page only adding "margin-top: 320px" to both right and left column so that I'll have a bigger slider below the "top of page >> top menu". If I modify the global.css file then the column will be modified in every page of the website. I think I have to write a smarty code in some TPL file (probably header and footer), but I have no idea how to do that or which code I can add Thanks a lot, Matteo Link to comment Share on other sites More sharing options...
Martin Uker K Posted July 18, 2013 Share Posted July 18, 2013 (edited) You're gonna need ALL of us? You're problem is quite complex if you need 535848 users to solve it. Any way : Can we see your website (The url plz!)? But guessing from the image : you're using the default theme. This theme define the body with a unique id based on th page name. You're solution in css could work if you give a longer path more unique : body#index #page #left-column, body#index #page #right-column{margin-top:320px;} Good luck with that, give the URL if it doesn't work. Martin Edited July 18, 2013 by Martin Uker K (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 19, 2013 Share Posted July 19, 2013 thread duplicated: http://www.prestashop.com/forums/topic/262658-change-the-home-page-layout-only/page__p__1309216?do=findComment&comment=1309216 Link to comment Share on other sites More sharing options...
Recommended Posts