Guest Posted February 11 Share Posted February 11 Hi, I am using the following code to move my social icons vertically to the right. But the problem is that it also moves the shopping cart which I don't want. I want the cart to remain in its original place on the end of the main navigation next to the word 'enquire'. Any help welcome. Thanks! https://tlcdesign-amourdemo.squarespace.com/ password: demo .header-actions-action--social { position:absolute; top:330%;//change as necessary flex-direction:column; right:1vw; } .header-actions-action--social .icon { margin-left:-10px !important; //change as necessary margin-bottom:20px ; } @media screen and (min-width:768px) { .header-actions-action--cart { position:fixed; right:30px; top:45%; } .header-actions--right { justify-content:center; }} Link to comment
Ziggy Posted February 11 Share Posted February 11 That code you've quoted includes moving the cart, I would suggest removing this text: @media screen and (min-width:768px) { .header-actions-action--cart { position:fixed; right:30px; top:45%; } (I've bolded the line that tells me that the following code is affecting the position of the cart icon) I hope that solves your problem! Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? 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