MaJoran243 Posted October 18, 2012 Share Posted October 18, 2012 (edited) Hi, I'm setting up a Prestashop 1.4.9 version and tried several times to adjust the size of my cart buttons in the standard theme, due the translations need more or less space within the buttons. Is it possible to adjust the button just with the blockcart.css? I've created new button graphics (mediumsmall with a width of 80pxnon-exclusiv as well as exclusive) and I have added them to the global.css in my standard theme folder. The blockcart.css can edit the text arrangement of the translation but it dosen't say anything about the graphic behind the text. How can I implement the new graphic (mediumsmall) instead of having the original one (smal)? If I change the value in blockcart.tpl in the main module folder to class="button_mediumsmall nothing is displayed in the background. Can anyone help me Thanks in advance Edited October 18, 2012 by MaJoran243 (see edit history) Link to comment Share on other sites More sharing options...
MaJoran243 Posted October 18, 2012 Author Share Posted October 18, 2012 Mhhh...think I solved it, but I'm not sure if it's correct. I've added a background-image to each cart-buttons in my blockcart.css and defined the width manually. #cart_block p#cart-buttons a { background-image: url('../../../img/button-mediumsmall.png'); float: left; width: 80px; } #cart_block p#cart-buttons a#button_order_cart { background-image: url('../../../img/button-medium_exclusive.png'); float: right; width: 100px; 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