Jump to content

Ajax cart popup change position


plutten22

Recommended Posts

The problem was caused by the image you added at the very top of your site. Prestashop counts position form the very top, but the popup cart's position is based on the page header. So two solutions:

1. Work out a piece of css code to change the popup cart to make the popup cart's position be based on the page top.

2. Edit the \themes\default-bootstrap\js\modules\blockcart\ajax-cart.js to reduce the height of the image you added. To do that first you need to add an ID to that image like "my_top_banner".

if($('#my_top_banner').length)
	n -= $('#my_top_banner').outerHeight();

 

Regards,

Jonny

Screenshot00086.jpg

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...