MJohn Posted July 28, 2022 Share Posted July 28, 2022 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! 👋 Michelle John 💕 Catchafire volunteer 🖥️ Web & graphic design for churches, nonprofits & small businesses 🔗 brambledesign.co Link to comment
Solution Beyondspace Posted July 28, 2022 Solution Share Posted July 28, 2022 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! 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 tuanphan 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
Beyondspace Posted July 28, 2022 Share Posted July 28, 2022 My testing BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
MJohn Posted July 28, 2022 Author Share Posted July 28, 2022 That works! Thanks! 👋 Michelle John 💕 Catchafire volunteer 🖥️ Web & graphic design for churches, nonprofits & small businesses 🔗 brambledesign.co Link to comment
yuribtonani Posted June 14, 2023 Share Posted June 14, 2023 (edited) On 7/28/2022 at 11:08 AM, MJohn said: That works! Thanks! Hey John.. could you help me? My website is www.fercomaz.com I insert the code in advanced -> code injection.. however is showing in the top of the page.. do you know what is wrong? thanks! 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; } Edited June 14, 2023 by yuribtonani Link to comment
tuanphan Posted June 16, 2023 Share Posted June 16, 2023 On 6/15/2023 at 2:06 AM, yuribtonani said: Hey John.. could you help me? My website is www.fercomaz.com I insert the code in advanced -> code injection.. however is showing in the top of the page.. do you know what is wrong? thanks! 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; } Add it to Home > Design > Custom CSS 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
yuribtonani Posted June 16, 2023 Share Posted June 16, 2023 8 hours ago, tuanphan said: Add it to Home > Design > Custom CSS Tupan.. im so sorry to disturb you.. however, im a dumb in this type of things.. I added the code from the quote above in design css .. but has no effect in my website.. Link to comment
tuanphan Posted June 20, 2023 Share Posted June 20, 2023 On 6/17/2023 at 1:16 AM, yuribtonani said: Tupan.. im so sorry to disturb you.. however, im a dumb in this type of things.. I added the code from the quote above in design css .. but has no effect in my website.. That code is FontAwesome code, so you need to declare FontAwesome library first. I sent another code in another thread. You try checking again. 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment