Jump to content

Adding Images above menu items (CSS)

Recommended Posts

  • Replies 2
  • Views 246
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

You may be able to use this code to add in an image to the announcement bar:

https://insidethesquare.co/squarespace-tutorials/announcement-bar-image

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
22 hours ago, LaneStadelmaier said:

Site URL: http://www.houseofhope.amsterdam/

Hi, I want to add a photo above the navigation bar. Which CSS code do I need?

Add to Design > Custom CSS

header#header:before {
    background-image: url(https://cdn.pixabay.com/photo/2019/12/20/18/28/fir-4709032__480.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    width: 100%;
    height: 350px;
    content: "";
}
/* mobile */
@media screen and (max-width:767px) {
header#header:before {
    height: 200px;
}
}

 

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

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.