Soredadux Posted March 12, 2021 Share Posted March 12, 2021 Site URL: https://www.libeluladesol.cl Hi everyone! I'm looking for a way to add mi Whatsapp number on Social links (header and footer). I've already tried a solution: but didn't work for me. Right now I've added a link icon with the whatsapp contact and standard message. You can see it in the header and the footer: Header: Footer: Can anyone help me with the coding? My website is www.libeluladesol.cl Link to comment
cafejungle Posted March 12, 2021 Share Posted March 12, 2021 Have you published your site already? I am building a new site following the same instructions you mentioned, and having the same problem as you are having. But I haven't published the site yet. Wonder if that can be related. Link to comment
Soredadux Posted March 12, 2021 Author Share Posted March 12, 2021 Yes it's published Link to comment
cafejungle Posted March 12, 2021 Share Posted March 12, 2021 Is this on your footer code-block ? <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> Link to comment
Soredadux Posted March 12, 2021 Author Share Posted March 12, 2021 Nop, I put it in Inyection Code on footer when I was trying to do the solution indicated for geeknproud post. But didn't work so I deleted it. Link to comment
SarahViteri Posted March 18, 2021 Share Posted March 18, 2021 Hello! I'm having the same issue. I tried following the steps on @geeknproud's post, but it also didn't work. I'd appreciate if someone could lend me a hand with the CSS code for my site. The website is https://www.megatiendaec.com/ and password is megatienda2020 Link to comment
creedon Posted March 18, 2021 Share Posted March 18, 2021 @LykaStudio Building off of @tuanphan' s code, try the following. #header [href*="wa.link"] { visibility : hidden; } #header [href*="wa.link"]:before { content : '\f232'; font-family : FontAwesome; visibility : visible; } This is for v7.1. The main difference here is that we need to use wa.link instead of wa.me. Different links, differennt selectors. Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
SarahViteri Posted March 20, 2021 Share Posted March 20, 2021 Thank you so much @creedon! It worked like a charm! How did you know which selector to use? I need to add a tik tok icon to another page too. Only one more thing, I also have the social icons on my footer. The icons are inside a circle, but the whatsapp icon didn't seem to pick up on the same style. It is just plain white. Can you help me please? I'll attach an image so you see what I mean, Link to comment
creedon Posted March 20, 2021 Share Posted March 20, 2021 On 3/20/2021 at 7:53 AM, LykaStudio said: How did you know which selector to use? I really just followed tuanphan's code and substituted the part of your WhatsApp URL that was appropriate. Quote The icons are inside a circle, but the whatsapp icon didn't seem to pick up on the same style. Yeah that is a tricky one. In the header you are swapping in a font. The footer is using SVG (scaleable vector graphics) and two versions of each icon image to achieve the effect there. The first challenge would be obtaining the WhatsApp icon in two formats. Here is an example of the Facebook f in it's two versions. The second image is a mask. The second part of the challenge shouldn't be too hard. Use Javascript to swap in the two SVGs in place of the generic social icon SS uses. This would require the business plan or above. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
tuanphan Posted March 22, 2021 Share Posted March 22, 2021 On 3/20/2021 at 9:53 PM, LykaStudio said: Thank you so much @creedon! It worked like a charm! How did you know which selector to use? I need to add a tik tok icon to another page too. Only one more thing, I also have the social icons on my footer. The icons are inside a circle, but the whatsapp icon didn't seem to pick up on the same style. It is just plain white. Can you help me please? I'll attach an image so you see what I mean, Hi. Do you still need help? 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
SarahViteri Posted March 23, 2021 Share Posted March 23, 2021 @creedon thank you so much for your help, but I don't know even a little bit of Javascript. @tuanphan if you are able to I'd be very grateful! Link to comment
Lianna Posted March 23, 2021 Share Posted March 23, 2021 It didn't work for me either :-( Does it have to do with the site version? Link to comment
tuanphan Posted March 25, 2021 Share Posted March 25, 2021 On 3/23/2021 at 8:24 AM, LykaStudio said: @creedon thank you so much for your help, but I don't know even a little bit of Javascript. @tuanphan if you are able to I'd be very grateful! On 3/23/2021 at 9:17 PM, Lianna said: It didn't work for me either :-( Does it have to do with the site version? Hi. Try this my guide. 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
Guest Posted June 14, 2021 Share Posted June 14, 2021 Appears to be WhatsApp is touchy to the size of search engine optimization image used. I played around with the size of the photograph record and it now suggests up as a preview/thumbnail when sharing. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.