asjoli Posted September 18, 2010 Share Posted September 18, 2010 I'm about to remove one of the buttons within the cart block. I want the remaining button to be centered within the cart block.What code do I need to add to make that happen? Link to comment Share on other sites More sharing options...
asjoli Posted September 20, 2010 Author Share Posted September 20, 2010 Anyone?I have searched in the forums but I haven't found the answer... Link to comment Share on other sites More sharing options...
MrBaseball34 Posted September 21, 2010 Share Posted September 21, 2010 Which button are you removing? Link to comment Share on other sites More sharing options...
asjoli Posted September 21, 2010 Author Share Posted September 21, 2010 I'm removing the "Cart"-button and leaving the other one (the green one in the default theme). The button I'm leaving behind do I want centered within the cart block.Can that be done? And how? Link to comment Share on other sites More sharing options...
k3ri Posted September 21, 2010 Share Posted September 21, 2010 Don't edit those module templates directly!For the blockcart module (PS_DIR/modules/blockcart.tpl) remove line 115: {l s='Cart' mod='blockcart'} In your template css file: line 1329 in the generic prestashop theme has #cart_block p#cart-buttons a#button_order_cart you'll need to adjust that to your own preferences. Link to comment Share on other sites More sharing options...
muratssu Posted January 18, 2011 Share Posted January 18, 2011 hello;After removing the add to cart buton what to do to allign center the remaining button?(it is called "confirm the order" in my themethx. 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