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

Differnt logo different pages

Recommended Posts

Site URL: https://avocado-eagle-fehc.squarespace.com

Hi guys,

On some pages I would like a white logo, some a black.

Hoping someone can help. I have an extra colour in my logo, not just black to invert to white. The invert code works great except the orange goes blue which is not good.

I have uploaded the white version to the CSS manage file section, but I cannot get any codes I find around the place to work.


(eg :     <script> window.onload = function() { document.getElementsByClassName('Header-branding-logo')[0].src = 'URL_TO_IMAGE'; }; </script>    )

Can anyone help out please?





Pw HiThere123


Share this post

Link to post

Add to Page Settings > Advanced > Header

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
  $(document).ready(function() {
	$('.header-title-logo img').attr('src','https://beaverhero.com/wp-content/uploads/2020/05/ss-pricing-table01-min.png');

Replace beaverhero with new logo url.

You can send your question to my email to get faster answer.

How to Setup Password & Share URL  Squarespace Customer Care

Share this post

Link to post

The ones I added the code to - actually that is untrue. It is the portfolio pages - the actual portfolio pages - AND the pages that hold the list of the projects...


Share this post

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...