Jump to content

Logo versions

Recommended Posts

  • Replies 3
  • Views 651
  • Created
  • Last Reply

This is something you can achieve with some custom code. 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
  • 3 weeks later...

Hi!

I have tried with Carl Johnson tutorial (https://www.youtube.com/watch?v=_3CQd5WGrsI) and with Jason Storey solution, but it is not working...

CARL JOHNSON:

First step:

Home > Settings > Advanced > Page Header Code Injection:

<script>

$(function(){

$(".Header-branding-logo").attr("src","https://static1.squarespace.com/static/5e225b28a8a8f45ef685f4dc/t/5e27321c8ecda6054e787619/1579627036107/SM_LOGOTIPO_INGLE%CC%81S.png");

});

</script>

Second step (Carl Johnson solution):

Settings > Advanced > Code Injection > Header

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>

Second step (Jason Storey solution):

Settings > Advanced > Code Injection > Header

<script> window.onload = function() { document.getElementsByClassName('Header-branding-logo')[0].src = 'https://static1.squarespace.com/static/5e225b28a8a8f45ef685f4dc/t/5e27321c8ecda6054e787619/1579627036107/SM_LOGOTIPO_INGLE%CC%81S.png'; }; </script>

 

Thank you in advance.

Link to comment

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.