Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

CSS Alternative Logo on some pages


TheHouseOfMischief
Go to solution Solved by TheHouseOfMischief,

Question

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 post
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

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)

3 answers to this question

Recommended Posts

  • 0

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)

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...