Jump to content

Custom code for logo image SS 7.1

Recommended Posts

Site URL: https://harvestercapital.com

Hello, I tried searching for information about this, but was only able to find questions related to different versions of SS (I'm on 7.1), which I tried just to check, and was unsuccessful.

In my page, I have a dark and a light view depending on page. I have a dark and light logo image, and would like to substitute the primary logo file for the alternate for the pages with light background. (I chose dark for the home page). 

I would imagine there is a relatively simple code injection that can be added to each page referencing the alternate file I uploaded under Design>Custom CSS>Manage Custom Files. 

Any help is appreciated.

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

To change logo on One Page, add to Page Settings > Advanced > Header

<style>
  .header-title-logo img {
    visibility: hidden;
}
.header-title-logo a {
    background-image: url(https://beaverhero.com/wp-content/uploads/2019/07/coffee-beans-1082116_640-min.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.