Alpes Eco Matériaux Posted April 8, 2014 Share Posted April 8, 2014 (edited) Bonjour à tous, Cella fait 2 heures que je farfouille dans le product TPL de mon theme et je ne trouve pas la ligne à modifier pour augmenter la taille de police des prix à l'unité .... Merci par avance Edited April 9, 2014 by Alpes Eco Matériaux (see edit history) Link to comment Share on other sites More sharing options...
Alpes Eco Matériaux Posted April 9, 2014 Author Share Posted April 9, 2014 personne ? Link to comment Share on other sites More sharing options...
icstra Posted April 9, 2014 Share Posted April 9, 2014 (edited) ca doit pouvoir se modifier dans les css. Fais une copie d'écran que ce que tu veux modifier et je te dirais quel fichier modifier. Edited April 9, 2014 by icstra (see edit history) Link to comment Share on other sites More sharing options...
Alpes Eco Matériaux Posted April 9, 2014 Author Share Posted April 9, 2014 (edited) Merci a toi Icstra lien pour le screen : http://hpics.li/bc4cccf Edited April 9, 2014 by Alpes Eco Matériaux (see edit history) Link to comment Share on other sites More sharing options...
icstra Posted April 9, 2014 Share Posted April 9, 2014 Les modifs ne peuvent pas se faire via css car c'est le style body qui est utilisé. En modifiant la taille on modifie tout le body. Il faut modifier le fichier product.tpl à la ligne 303 comme suit : <span id="unit_price_display" style="font-size: 18">3,50 €</span> avec la font-size de ton choix. Sauvegarde ce fichier avant de faire la modif . Suis pas un expert...:-) Link to comment Share on other sites More sharing options...
Alpes Eco Matériaux Posted April 9, 2014 Author Share Posted April 9, 2014 super merci Icstra! j'ai fait la modif suivante ligne 435 du product.tpl: <p class="unit-price"><span id="unit_price_display">{convertPrice price=$unit_price}</span> {l s='per'} {$product->unity|escape:'htmlall':'UTF-8'}</p> par <p class="unit-price"><span id="unit_price_display" style="font-size: 20"</span>{convertPrice price=$unit_price}</span> {l s='per'} {$product->unity|escape:'htmlall' dernière petite question on peu changer la couleur du texte ? Link to comment Share on other sites More sharing options...
icstra Posted April 9, 2014 Share Posted April 9, 2014 oui bien sur. style="font-size:20; color:#tacouleur" Link to comment Share on other sites More sharing options...
Alpes Eco Matériaux Posted April 9, 2014 Author Share Posted April 9, 2014 Super ! merci 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