Jump to content

Customized homepage header

Recommended Posts

  • Replies 1
  • Views 182
  • Created
  • Last Reply

Hi,

Edit this code

.header-announcement-bar-wrapper {
    background-image: url('https://static1.squarespace.com/static/6046dbcba0a3ed5aaf76c32d/t/6070986ab5656707b8a37ab4/1617991787152/darius-bashar-wfY1G2O_5aY-unsplash.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center
}

to this

body.homepage .header-announcement-bar-wrapper {
    background-image: url('https://static1.squarespace.com/static/6046dbcba0a3ed5aaf76c32d/t/6070986ab5656707b8a37ab4/1617991787152/darius-bashar-wfY1G2O_5aY-unsplash.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center
}
body:not(.homepage) .header-announcement-bar-wrapper {
    background: #000 !important;
}

 

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

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.