jomcdonald Posted May 22, 2010 Share Posted May 22, 2010 Bonjour,Voila je cherche à modifier l'apparence des images de mes sous catégories afin quelles puissent être centrées et sans fond blanc comme on peut le voir sur ce lien =>> http://www.comptoirelectrique.com/36-piles-batteries-et-accessoires//// image de la pile varta ////Merci de votre aide Link to comment Share on other sites More sharing options...
Jo Ngoc Hang Posted May 22, 2010 Share Posted May 22, 2010 Bonjour !Pour centrer l'image, essaie de remplacer : #category img#categoryImage{ margin-top: 1em; } Par : #category img#categoryImage{ display: block; margin: 1em auto 0; } Par contre, pour le fond de l'image, même en png la transparence par défaut ne passe pas. J'ai bien trouvé une solution pour changer ce blanc qui remplace la transparence mais pas pour la garder... :/ Link to comment Share on other sites More sharing options...
pppplus Posted May 22, 2010 Share Posted May 22, 2010 pour les fonds transparents : j'avais proposé une solution http://www.prestashop.com/forums/viewthread/49905/discussion_generale/fond_images_transparent__une_solution_Et comme dit dans le post, il faut faire un choix entre des images avec fonds transparents mais plus lourdes, et la solution actuelle. 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