Jump to content

Whatsapp icon in header on 7.1 FE

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: https://newmomu.squarespace.com/

pw: newmomu

I managed to put in a Whatsapp icon in my navigation with this code but I can't get it to be inline with the Youtube link. Also, how can I get it to change color when hovered on?

header#header [href*="wa.me"] {
    visibility: hidden;
}
header#header [href*="wa.me"]:before {
    visibility: visible;
    content: "\f232";
    font-family: "Font Awesome 5 Brands";
  color: white;
 }

Thanks!

 

image.png.6d542b398aedce603f2d1bcc6604171d.png

Link to comment
  • Solution
12 minutes ago, MJohn said:

Site URL: https://newmomu.squarespace.com/

pw: newmomu

I managed to put in a Whatsapp icon in my navigation with this code but I can't get it to be inline with the Youtube link. Also, how can I get it to change color when hovered on?

header#header [href*="wa.me"] {
    visibility: hidden;
}
header#header [href*="wa.me"]:before {
    visibility: visible;
    content: "\f232";
    font-family: "Font Awesome 5 Brands";
  color: white;
 }

Thanks!

 

image.png.6d542b398aedce603f2d1bcc6604171d.png

Try adding to Home > design > Custom Css

header#header [href*="wa.me"] {
  display: flex;
  align-items: center;
}

header#header [href*="wa.me"]:hover:before {
  color:green;
}

Let me know how it works on your site

Greeting, it's 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: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
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 comment

My testing

image.thumb.png.a0661e926c17c429b754268eabacc241.png

Greeting, it's 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: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
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 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.