Jump to content

Customer Widget in Header

Recommended Posts

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

Link to comment
  • Replies 6
  • Views 532
  • Created
  • Last Reply

Top Posters In This Topic

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)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

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!

 

Link to comment
  • 2 weeks later...
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!)

Link to comment
  • 3 weeks later...
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!)

Link to comment

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.