MJohn Posted July 28, 2022 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
Solution Beyondspace Posted July 28, 2022 Solution 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 (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Beyondspace Posted July 28, 2022 Posted July 28, 2022 My testing BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
MJohn Posted July 28, 2022 Author Posted July 28, 2022 That works! Thanks! 👋 Michelle John 💕 Catchafire volunteer 🖥️ Web & graphic design for churches, nonprofits & small businesses 🔗 brambledesign.co
yuribtonani Posted June 14, 2023 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
tuanphan Posted June 16, 2023 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!)
yuribtonani Posted June 16, 2023 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..
tuanphan Posted June 20, 2023 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment