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

jackforbes

Member
  • Content Count

    12
  • Joined

  • Last visited

  1. You can inject this code onto the page you want to change the logo: <script> window.onload = function() { document.getElementsByClassName('Header-branding-logo')[0].src = 'URL_TO_IMAGE'; }; </script> If you don't want to host the image yourself, you can upload the logo to Squarespace, grab its url, then change the logo to the default one that you want. Then you'll have a url to the Squarespace logo url that you want to inject above, in the form '//static1.squarespace.com/static/ID/t/ID/ID/'.
  2. A more efficient way to do it, without having to inject jQuery: <script> window.onload = function() { document.getElementsByClassName('Header-branding-logo')[0].src = 'URL_TO_IMAGE'; }; </script> If you don't want to host the image yourself, you can upload the logo to Squarespace, grab its url, then change the logo to the default one that you want. Then you'll have a url to the Squarespace logo url that you want to inject above, in the form '//static1.squarespace.com/static/ID/t/ID/ID/'.
×
×
  • Create New...