PrestaShop Forums: [SOLVED] Cart summary buttons in wrong position - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


[SOLVED] Cart summary buttons in wrong position


[SOLVED] Cart summary buttons in wrong position

#1 LukeH

    PrestaShop Apprentice

  • 13 May 2010
  • Members
  • PipPip
  • 63 posts

Posted 07 September 2010 - 09:22 AM

Hi,

When on the Summary page of shopping cart the 'Next >>' and '<
Can someone advise me which file I need to modify to alter the button positions ?

I use Firebug to troubleshoot but I can't figure out which PrestaShop file is responsible for the cart summary page.

Thanks,

Luke.

#2 rocky

    PrestaShop Superstar

  • 16 Oct 2008
  • US Moderators
  • 9981 posts
  • Location:Australia

Posted 07 September 2010 - 12:07 PM

It would be easier to help with a link to your site or a screenshot of the problem. Those buttons are at the bottom of shopping-cart.tpl in your theme's directory.
Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.

Guides Performance Guide | Installation Guide | Development Guide

Modules AJAX Sliding Categories | AJAX Dropdown Categories | Carousel | Image Gallery | Sliding Menu

All free and paid software, modules, themes and modifications are subject to the terms and conditions here.

#3 LukeH

    PrestaShop Apprentice

  • 13 May 2010
  • Members
  • PipPip
  • 63 posts

Posted 07 September 2010 - 12:16 PM

From 1283857645:

It would be easier to help with a link to your site or a screenshot of the problem. Those buttons are at the bottom of shopping-cart.tpl in your theme's directory.


Picture attached.

The Continue shopping button should be bottom-left and next button should be bottom-right. It is fine on the other pages.

Attached File(s)



#4 razaro

    PrestaShop Addict

  • 28 Nov 2009
  • Members
  • PipPipPip
  • 949 posts

Posted 07 September 2010 - 12:21 PM

Add clear:both; to global.css (line 1924)

p.cart_navigation {
clear:both;
padding:1em 0 !important;
}


#5 LukeH

    PrestaShop Apprentice

  • 13 May 2010
  • Members
  • PipPip
  • 63 posts

Posted 07 September 2010 - 12:31 PM

From 1283858466:

Add clear:both; to global.css (line 1924)

p.cart_navigation {
clear:both;
padding:1em 0 !important;
}


Thanks - That fixed the button location but the Delivery/Invoice address table is left justified and needs to be centred.

Any ideas?

Luke.

#6 razaro

    PrestaShop Addict

  • 28 Nov 2009
  • Members
  • PipPipPip
  • 949 posts

Posted 07 September 2010 - 01:39 PM

Add this to global.css

.order_delivery{
margin:0 auto;
width:545px;
}


Also you could add margin to
div.addresses {
background:none repeat scroll 0 0 #F8F8F8;
border:1px solid #E6E6E6;
margin:0 auto;
padding:0.6em;
position:relative;
width:544px;
}

global.css (line 2390)

#7 LukeH

    PrestaShop Apprentice

  • 13 May 2010
  • Members
  • PipPip
  • 63 posts

Posted 07 September 2010 - 02:06 PM

Perfect. Thank you razaro!

I also added;

.addresses{
margin:0 auto;
width:545px;
}


This was to centre and align the addresses on the address page of the cart checkout.

Luke.

#8 razaro

    PrestaShop Addict

  • 28 Nov 2009
  • Members
  • PipPipPip
  • 949 posts

Posted 07 September 2010 - 02:08 PM

If your issue is resolved please edit your first post and add [SOLVED] the front of the title.

#9 LukeH

    PrestaShop Apprentice

  • 13 May 2010
  • Members
  • PipPip
  • 63 posts

Posted 07 September 2010 - 02:11 PM

From 1283864925:

If your issue is resolved please edit your first post and add [SOLVED] the front of the title.


Just done that.

Thanks.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users