Jump to content

Moving cart position on mobile (lies behind cookies banner when product is added)

Go to solution Solved by paul2009,

Recommended Posts

Site URL: http://www.exceedfootwear.com

Hi,

I am looking to move the position of the cart on my website, most importantly the positioning when seen on mobiles. It currently lies behind the cookie banner if the user does not X it. How can I move the cart to show at top right but still on screen. The current template Horizon does not let me change properties of cart apart from colour.

 

Thanks 

Link to comment
  • Solution

The Horizon template (part of the Pacific-family) is comparatively old and doesn't have built-in options for cart positioning like the newer Brine-family templates. However, you should be able to reposition the mobile cart by adding this to Design > Custom CSS:

@media only screen and (max-width: 768px) {
  .custom-cart {
    top:0!important;
    bottom: auto!important;
  }
}

Let me know how you get on.

-Paul

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.