webshop Posted May 9, 2012 Share Posted May 9, 2012 Bonjour, Lorsque j'ajoute une image et du texte à une catégorie. Ces derniers ne sont pas centré, ils sont aligné sur la gauche. J'aimerais savoir comment faire pour centrer l'image. Vous pouvez avoir un aperçu sur ce site: www.romyshop.fr, rubrique "Robes" Merci pour vos réponses Link to comment Share on other sites More sharing options...
webshop Posted May 9, 2012 Author Share Posted May 9, 2012 Quelqu'un à une idée ?? Merci Link to comment Share on other sites More sharing options...
Oron Posted May 9, 2012 Share Posted May 9, 2012 (edited) Bonjour D'après ce que je vois c'est votre image originelle qui ne doit pas être centré. Elles ont quel taille les images que vous importez ? Le texte lui est aligner à gauche voir dans global.css ligne 99 #wrapper3 { text-align: left; << mettre center ou right ou justify Edited May 9, 2012 by Oron (see edit history) Link to comment Share on other sites More sharing options...
webshop Posted May 9, 2012 Author Share Posted May 9, 2012 Sur mon BO, j'ai mis les images en 600x250 L'image fait donc 600x250 Mais si je rajoute du texte, il ne sera pas centré aussi. Link to comment Share on other sites More sharing options...
webshop Posted May 9, 2012 Author Share Posted May 9, 2012 jv tester ce que tu m'as dit Oron ! merci Link to comment Share on other sites More sharing options...
Oron Posted May 9, 2012 Share Posted May 9, 2012 Je viens de faire un test avec une image 600x250 et 250x600 et elles s'importent bien comme je les ais créer. Le texte pour le centrer il faut modifier dans le global.css du thème la div ou class #wrapper3 /* —————————————————————————————— layout —————————————————————————————— */ #wrapper1 {min-width:980px;min-height:100%;background:url(../img/bg_top.png) 0 0 repeat-x;} #wrapper2 {height:100%;background:url(../img/bg_img.jpg) 0 0 no-repeat;} #wrapper3 {width:940px;margin:0 auto;text-align:left;} 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