plutten22 Posted March 29, 2018 Share Posted March 29, 2018 Hi. Where can i change the position of the ajax popup cart. When i put a product in the cart the popup cart dispays outside the screen down below. www.cykelstaden.se Prestashop 1.6.1.10 Regards Link to comment Share on other sites More sharing options...
tantan199 Posted March 29, 2018 Share Posted March 29, 2018 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 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