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

Question

Site URL: https://sf.digital/squarespace/customising-the-mobile-information-bar

Is this not able to be used anymore? I've use it last year and it was working, it only stopped working for me after the update.
I'm trying to use the Email button of the Mobile Information Bar as a Whatsapp button.

Can anybody point me in the right direction how to enable this again? Thank you very much in advance.

Here's my website and the code:

https://cleaningequipment.org

<script>
$(window).bind("load", function() {
  $('.sqs-mobile-info-bar-trigger[data-type="contactEmail"] .sqs-mobile-info-bar-trigger-label').text('Whatsapp');
  $("a[href='mailto:xxx@gmail.com']").attr('href', 'https://api.whatsapp.com/send?phone=00000000000&text=Hi%20there!%20I%27m%20looking%20for%20')
});
</script>

Thanks in advance.

Edited by benjaminp

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

You've referred to a very old post that I wrote 5+ years ago. Despite the fact that it could be rewritten to improve performance, it does still work.


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Developer and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDatepicker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links. Book a Squarespace Expert when you need help.

Share this post


Link to post
  • 0
11 hours ago, paul2009 said:

You've referred to a very old post that I wrote 5+ years ago. Despite the fact that it could be rewritten to improve performance, it does still work.

But the button itself takes me to email though and not Whatsapp as I wanted it.

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