Jump to content

How to add a gif next to the navigation bar in my header and link it to a page?

Go to solution Solved by tuanphan,

Recommended Posts

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.

image.thumb.png.1caec9dcca61c134247300e6f7bfad6c.png

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
  • Replies 6
  • Views 853
  • Created
  • Last Reply

Top Posters In This Topic

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

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
  • Solution
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;
}

image.thumb.png.4da89a33668343258a71178861dec52d.png

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
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;
}

image.thumb.png.4da89a33668343258a71178861dec52d.png

Thank you! Works perfectly.

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.