hypergiro Posted December 14, 2014 Share Posted December 14, 2014 hello all! I am trying to setup the way pictures are displayed in the theme configurator (PS 1.6.0.9), top hook. Basically I would like to divide the space in two columns: 66,667% and 33,333%, in order to have a picture that occupies 2/3 of the space and another picture that occupies the remaining 1/3. I have read here http://www.prestashop.com/forums/topic/349433-images-in-top-position-in-themeconfigurator/ to no avail. I also tried changing hook.tpl by modifying this line: <li class="htmlcontent-item-{$smarty.foreach.items.iteration|escape:'htmlall':'UTF-8'} col-xs-4"> into <li class="htmlcontent-item-{$smarty.foreach.items.iteration|escape:'htmlall':'UTF-8'} col-xs-8 col-xs-4">but the two images just stay one on top of the other. You can get an idea here: www.tmofficer.com/it the pictures I am talking about are the black and the red one. (don't mind about the site really... I'm just testing PS 1.6.0.9). Any idea please? thanks! hyp Link to comment Share on other sites More sharing options...
dioniz Posted December 15, 2014 Share Posted December 15, 2014 Try this: First change code back to: <li class="htmlcontent-item-{$smarty.foreach.items.iteration|escape:'htmlall':'UTF-8'} col-xs-4"> then add to youdomain/modules/themeconfigurator/css/hooks.css following code #htmlcontent_home ul li.htmlcontent-item-1{ width: 66.6667%; } Turn off CCC so css file can be updated Link to comment Share on other sites More sharing options...
hypergiro Posted December 15, 2014 Author Share Posted December 15, 2014 it worked. thanks a lot! just a small note I had to change htmlcontent_home to htmlcontent_top, but it works perfectly. I'd never manage it probably so thanks again! Link to comment Share on other sites More sharing options...
dioniz Posted December 15, 2014 Share Posted December 15, 2014 Glad you solved it I'm marking this thread solved Link to comment Share on other sites More sharing options...
Recommended Posts