Patrick_64 Posted August 31, 2016 Share Posted August 31, 2016 Je cherchais pour un client à rajouter une quatrième ligne de vignettes sur la home mais plus petites que celles d'origine.(voir exemple joint), J'ai modifié le fichier : hook.tpl qui se trouve dans le module : themconfigurator, views, tempates remplacez à la ligne 32 : <li class="htmlcontent-item-{$smarty.foreach.items.iteration|escape:'htmlall':'UTF-8'} col-xs-4"> par : {if $smarty.foreach.items.iteration > 8} <li class="htmlcontent-item-{$smarty.foreach.items.iteration|escape:'htmlall':'UTF-8'} col-xs-3"> {else} <li class="htmlcontent-item-{$smarty.foreach.items.iteration|escape:'htmlall':'UTF-8'} col-xs-4"> {/if} Je change format des colonnes xs-4 en xs-3 à partir le la vignette 8 et supérieure. ATTENTION : UNIQUEMENT SUR LE THEME D'ORIGINE NON MODIFIE Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now