TheHouseOfMischief Posted December 10, 2020 Posted December 10, 2020 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 pagehttps://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
TheHouseOfMischief Posted December 11, 2020 Author Posted December 11, 2020 SOLVED That code conflicts with Ajax loading - once this is disable the code works perfectly fine.
tuanphan Posted December 13, 2020 Posted December 13, 2020 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.