Jump to content

Customer Widget in Header

Recommended Posts

Posted

Site URL: https://www.lommedalengk.no/

Hey, guys! 

I want to add an external login-widget to the header-menu on our website. The information I was provided with regarding html, JS, and CSS is all here: https://www.golfforbundet.no/klubb/organisasjon/golfbox-widget. I have attached a picture of how the login-widget is supposed to look when you click it. 

I have problems implementing it, and I was wondering if you could help me. I have attached a picture where you can see where we want to add our widget. 

How can I solve this? 

 

Screenshot 2021-12-08 at 5.15.28 PM.png

Screenshot 2021-12-08 at 5.17.46 PM.png

  • Replies 6
  • Views 734
  • Created
  • Last Reply

Top Posters In This Topic

Posted
9 hours ago, Mahjo said:

Site URL: https://www.lommedalengk.no/

Hey, guys! 

I want to add an external login-widget to the header-menu on our website. The information I was provided with regarding html, JS, and CSS is all here: https://www.golfforbundet.no/klubb/organisasjon/golfbox-widget. I have attached a picture of how the login-widget is supposed to look when you click it. 

I have problems implementing it, and I was wondering if you could help me. I have attached a picture where you can see where we want to add our widget. 

How can I solve this? 

 

Screenshot 2021-12-08 at 5.15.28 PM.png

Screenshot 2021-12-08 at 5.17.46 PM.png

You can add them to footer and move to header using custom code injection, did you add the button somewhere in the site yet?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

  • 2 weeks later...
Posted
On 12/23/2021 at 11:09 PM, Mahjo said:

And what exactly do I have to add to the footer? 

Add a Code Block in Footer >> Add this code

<link rel="stylesheet" href="https://www.golfforbundet.no/ngfGolfbox/golfbox_login.css">
<a href="#" class="golfboxLoginOpen">Logg inn i GolfBox</a>
<script src="https://www.golfforbundet.no/ngfGolfbox/golfbox_login.js" defer></script>

It will show a button, then we will give code to move it to header

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • 3 weeks later...
Posted (edited)

Thanks for the help so far! What to do after I injected the code in the footer @tuanphan? The button is working. Now I need help to move it to the header. I would like the button to be part of the menu, aligned to the right. 

 

Edited by Mahjo
Posted
15 hours ago, Mahjo said:

Thanks for the help so far! What to do after I injected the code in the footer @tuanphan? The button is working. Now I need help to move it to the header. I would like the button to be part of the menu, aligned to the right. 

 

Hi,

I don't see the button in Footer

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Create an account or sign in to comment

You need to be a member in order to leave a comment


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