• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #21274 - Cart, showing in mobile

Team,
We have a problem, on mobile devices (small Inés)(no amp) when something îs added on cart and You want to check the cart you can View only half...it is not centered.
I have printscreens but I think that option îs deactivate from suport and I cannot attach.

Comments

Fred 13 Apr 2021, 10:57

Hi, Ovidiu Lucian Matei.
Try following CSS fix

@media (max-width:500px) {
    .blockcart.cart-preview {position:static}
}

Don't forget about prestashop and browser's cache

Ovidiu Lucian Matei 13 Apr 2021, 21:18

I`ve trid...it is the same...

Fred 14 Apr 2021, 11:07

now it's fixed

Ovidiu Lucian Matei 15 Apr 2021, 06:53

Hi Fred,
Thank you,
Can we ask how you do it?
WE ARE ASKING THIS BECAUSE WE HAVE SAME ISSUE WITH THE SEARCH BAR.
You gave us in the start the wrong code?

Fred 15 Apr 2021, 10:56

Try following CSS

@media (max-width:500px) {
    .pk_search_result {left:0 !important;width:100%}
}
Fred 15 Apr 2021, 10:57

and this code for cart

@media (max-width:500px) {
    #desktop_cart .header.dd_el {position:static}
}