Jump to content

Cart icon scrolling in desktop

Go to solution Solved by tuanphan,

Recommended Posts

I'm having a little trouble with some custom coding. 

I'm new to coding and I've got a few injections pasted from various articles found on the forum, but this one has me totally stumped! 


I wanted to move the cart icon in line with the menu (which is underneath the logo as per squarespace options) and it works great except it scrolls with the page whereas the rest of the website is fixed. 

Can someone help please?

I'm new to web design and a total rookie, so please bare with me! 

I've included an image to show the problem, the menu is fixed up top, but the cart is scrolling with the page and can be seen in the image below. 

This is the custom CSS code I found, but it's not quite what I'm looking for. 



@media screen and (min-width:768px) {
    position: FIXED;

 .header-actions--right {


thank you!

Screenshot 2023-07-18 at 22.30.43.png

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.