Jump to content

CSS Alternative Logo on some pages

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

<style>
.Header-branding-logo, .Mobile-bar-branding-logo {
 content: url("YOURLOGOURL");
 }
</style>

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)
https://dtvgroup.squarespace.com/

When I then go on this page, the logo should be all black, but it still looks full colour, unless I refresh the page
https://dtvgroup.squarespace.com/humanitarian 

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!
Debora
 

Link to comment
  • Replies 3
  • Views 384
  • Created
  • Last Reply

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.