kaball Posted March 9, 2014 Share Posted March 9, 2014 Bonjour à tous Suite à la modification du bouton "Ajouter au panier", j'ai besoin de changer la couleur du lien du texte Ajouter au panier qui est illisible car ton sur ton avec mon nouveau bouton. Firebug ne me donne aucun fichier et je ne vois pas la ligne ds le global.css Ou est ce ? Merci de votre aide Link to comment Share on other sites More sharing options...
math_php Posted March 10, 2014 Share Posted March 10, 2014 Bonjour, Soit c'est dans : - modules/blockcart/blockart.css ou - themes/le_nom_de_ton_thème/modules/blockcart/blockart.css. Cordialement Link to comment Share on other sites More sharing options...
kaball Posted March 11, 2014 Author Share Posted March 11, 2014 Merci de ta réponse, Math_php Visiblement pas de dossier blockart.css sous mon thème. voilà ce que j'ai du côté de prestashop ds le fichier blockart.css : /* Special style for block cart*/ #left_column #cart_block, #right_column #cart_block { } #header #cart_block .title_block, #header #cart_block h4 { display: none; } #header #cart_block { z-index: 10; display:none; position: absolute; right: 0; top: 65px; height: auto; width: 200px; -moz-border-bottom-right-radius: 3px; -moz-border-bottom-left-radius: 3px; -webkit-border-bottom-right-radius: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; box-shadow: 0 1px 0 #C6C6C6; background:#eee } #cart_block.cart_block_hover {display:block} #cart_block .title_block span, #header #cart_block h4 { float: right; padding-left: 10px; text-transform: none; background-position: left top; background-repeat: no-repeat; cursor: pointer } #cart_block .block_content {padding:8px 8px 16px 8px;} #cart_block #cart_block_summary {display:none} #cart_block .quantity-formated { display:inline-block; padding-right:2px; min-width:18px; vertical-align: top; } #cart_block .cart_block_product_name {font-weight:bold} #cart_block .remove_link, #cart_block .deleteCustomizableProduct { float:right; display:inline-block; margin:1px 0 0 5px; height:12px; width:12px } #cart_block .remove_link a, #cart_block .ajax_cart_block_remove_link { display:inline-block; height:12px; width:12px; background: url(img/icon/delete.gif) no-repeat 0 0 } #cart_block .price { float:right } #cart_block #cart_block_list dl { padding-bottom:10px } #cart_block #cart_block_list dt {padding:4px 0} #cart_block #cart_block_list dt a {font-weight:bold; display: inline-block; max-width: 95px} #cart_block #cart_block_list dd { margin-left:20px } #cart_block #cart-prices { padding:10px 4px; line-height:20px; font-weight:bold; border-top:1px solid #999 } #cart_block #cart_block_shipping_cost, #cart_block #cart_block_total { float:right } #cart_block #cart_block_shipping_cost {font-weight:bold} #cart_block #cart-buttons .button_small {display:none;} #cart_block #cart-buttons #button_order_cart { float:right; padding-left:20px } #cart_block #cart-buttons #button_order_cart span { position:absolute; top:-1px; left:-12px; display:block; height:26px; width:26px; background:url(img/icon/pict_add_cart.png) no-repeat 0 0 } #cart_block table#vouchers { clear: both; width:100% } #cart_block table#vouchers tr td{ padding: 2px; } #cart_block table#vouchers tr td.quantity{ margin-right:5px; min-width:18px } #cart_block table#vouchers tr td.delete{ padding-left: 0; padding-right: 0; text-align: right; width: 15px; } le lien "Ajouter au panier" est actuellement est couleur blanche et j'aimerai le passer en noir, sauf erreur de ma part je vois pas bien ou changer la couleur du lien est ce que tu peux m'en dire plus stp merci Link to comment Share on other sites More sharing options...
math_php Posted March 11, 2014 Share Posted March 11, 2014 Essaye de modifier #cart_block #cart_block_list dt a {font-weight:bold; display: inline-block; max-width: 95px} en #cart_block #cart_block_list dt a {font-weight:bold; display: inline-block; max-width: 95px; color:black} 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