HobbesEdits Posted August 8 Share Posted August 8 I'm wanting to put a gif image in my header beside my main navigation bar, where the red circle is in the image below. I'd like it to be spaced evenly apart from the other links as if it's the next item and for the gif to be hyperlinked. I haven't been able to figure out how to do this using CSS. Anyone know how to do this? Thank you Link to comment
Ziggy Posted August 8 Share Posted August 8 Can you share the website URL and URL of the GIF? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
HobbesEdits Posted August 8 Author Share Posted August 8 This is the url of the gif: https://images.squarespace-cdn.com/content/66a8f52d108a8a093bdb3bbb/21a24414-3127-48ad-81cb-e07ca87ec4a5/2_2.gif?content-type=image%2Fgif Website url: www.hobbesedits.com Link to comment
Ziggy Posted August 8 Share Posted August 8 Can you share your site wide password? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
HobbesEdits Posted August 9 Author Share Posted August 9 This is the site password: d7;tBU Link to comment
Solution tuanphan Posted August 12 Solution Share Posted August 12 On 8/9/2024 at 7:17 AM, HobbesEdits said: This is the site password: d7;tBU Use this code to Website Tools > Custom CSS nav { align-items: center; } nav.header-nav-list:after { content: ""; background-image: url(https://images.squarespace-cdn.com/content/66a8f52d108a8a093bdb3bbb/21a24414-3127-48ad-81cb-e07ca87ec4a5/2_2.gif); background-size: contain; background-repeat: no-repeat; background-position: center; display: inline-block; width: 100px; height: 100px; margin-left: 1vw; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
HobbesEdits Posted August 13 Author Share Posted August 13 On 8/12/2024 at 1:58 PM, tuanphan said: Use this code to Website Tools > Custom CSS nav { align-items: center; } nav.header-nav-list:after { content: ""; background-image: url(https://images.squarespace-cdn.com/content/66a8f52d108a8a093bdb3bbb/21a24414-3127-48ad-81cb-e07ca87ec4a5/2_2.gif); background-size: contain; background-repeat: no-repeat; background-position: center; display: inline-block; width: 100px; height: 100px; margin-left: 1vw; } Thank you! Works perfectly. 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