mackenzieu Posted September 30, 2021 Share Posted September 30, 2021 Hello! I added the following code to add a shopping card icon next to Order Online menu item. It works great, but it affects the alignment of the first link. They are not aligned--I added the red lines so you can see how they are different. Any way to fix? //Shopping Cart Icon// .Header-nav--secondary .Header-nav-item:nth-child(1)::before { content: ''; height: 20px; width: 20px; display: inline-block; background: url('https://static1.squarespace.com/static/5fcdc0a3cd8500165ad2a837/t/61300c51f387ea52936de890/1630538833025/shopping-cart+%282%29.png'); background-size: contain; background-repeat: no-repeat; vertical-align: middle; margin-right: 5px; } Link to comment
tuanphan Posted October 3, 2021 Share Posted October 3, 2021 Hi, Can you share site url? 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
mackenzieu Posted October 5, 2021 Author Share Posted October 5, 2021 @tuanphanHere ya go: https://carrot-bronze-bld8.squarespace.com/ 🙂 Link to comment
Solution tuanphan Posted October 7, 2021 Solution Share Posted October 7, 2021 On 10/6/2021 at 2:54 AM, mackenzieu said: @tuanphanHere ya go: https://carrot-bronze-bld8.squarespace.com/ 🙂 Add this CSS a.Header-nav-item[href="/coop-curbside"] { position: relative; top: 2px; } mackenzieu 1 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
mackenzieu Posted October 7, 2021 Author Share Posted October 7, 2021 @tuanphanthanks again! 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