Jump to content

Logo versions

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

This is something you can achieve with some custom code. 

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

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.