Jump to content

Adding a different logo image to a homepage only

Recommended Posts

  • Replies 1
  • Views 298
  • Created
  • Last Reply

Hi. Add to Design > Custom CSS

/* home logo - transparent header */
body.homepage header.Header.Header--top {
    background: transparent !important;
    position: absolute;
}
body.homepage img.Header-branding-logo {
    visibility: hidden;
}
body.homepage a.Header-branding {
    background-image: url(https://cdn.pixabay.com/photo/2021/02/08/16/03/dinosaur-5995333__340.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

 

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.