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

Change the logo on one page (mobile)


kdomonell

Question

Site URL: https://llama-banjo-knmn.squarespace.com/

I'm trying to use an alternate logo on my homepage on both desktop and mobile. I used the code below to get it to work on desktop, but it isn't translating to mobile. Help? (website pw is 1234)

 

<script>
 window.onload = function() {
   document.querySelectorAll('.header-title-logo img')[0].src = 'https://static1.squarespace.com/static/5f748be0d2d091125c469cfb/t/5f7b4d748ed830435bb80d66/1601916276796/Asset+2.png';
 };
</script>

Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

have you got it done yet?

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement, Advanced Product Delivery Date Time PickerGeolocation Automatic Currency Converter, Sortable Table from GSheet
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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