Baileyrookie Posted July 18 Share Posted July 18 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) { .header-actions-action--cart{ position: FIXED; right:50px; top:25%; } .header-actions--right { justify-content:center; }} thank you! Link to comment
MayaViolet Posted July 19 Share Posted July 19 Hi @Baileyrookie, can you please share the URL + pw (if applicable) to the site, so we can inspect the code directly to identify the problem and solution? Thanks! tuanphan 1 Link to comment
Solution tuanphan Posted July 19 Solution Share Posted July 19 try change position: FIXED; to position: absolute; Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Baileyrookie Posted July 19 Author Share Posted July 19 Thanks so much, that worked. Had to toggle a few lefts for rights as well but it worked! thanks so much, that was driving me bonkers lol. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment