Jump to content

CSS Alternative Logo on some pages

Go to solution Solved by TheHouseOfMischief,

Recommended Posts

Site URL: https://dtvgroup.squarespace.com/

Hi all,

Using Brine, I have added an alternative logo file to my CSS and then injected the code below in the header of some pages to have the alternative logo show on those selected pages

.Header-branding-logo, .Mobile-bar-branding-logo {
 content: url("YOURLOGOURL");

It all seemed to work fine, except that when I am on the live website, the alternative logo only shows once I refresh the page, and not the first time around.

For example, on the homepage the logo is full colour (as it should be)

When I then go on this page, the logo should be all black, but it still looks full colour, unless I refresh the page

If from this page I click 'home', the logo remains all black, until I refresh the page.

Does anyone know how I could fix this issue?

Many many thanks!

Link to comment

If anyone uses code in Page Header, Code Block or Code Injection, you will need to disable Ajax Loading to make code work properly (Home > Design > Site Styles > Ajax Loading)

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.