Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Adding Whatsapp icon to social links on header and footer of site.


geeknproud

Question

Site URL: https://geeknproud.com

Hi, I'm new here, just starting my site and I was looking to add the whatsapp link in my social links on the header and footer but it seems it is not possible as it shows a chain icon instead of whatsapp. Any way for me to add the icon? I had found these two images for the icons which matches the theme of my site. One of the images might not be visible as it is a white outline and the forum background makes it disappear but it is there below the black icon.

Can someone help me edit the CSS to include this? I'm using a personal plan and the site is https://geeknproud.com password is 202101

png-clipart-whatsapp-icon-cdr-logo.png

dlf.pt-whatsapp-png-66153.png

Edited by geeknproud
explanation
Link to comment

15 answers to this question

Recommended Posts

  • 0

Usethiss code

footer.sections [href*="wa.me"] {
    visibility: hidden;
    position: relative;
}
footer.sections [href*="wa.me"]:before {
    visibility: visible;
    content: "\f232";
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0

Just solved same case a few days ago.

Do you use Business or Commerce Plan?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0

Hi. Your site is private. can you setup password & share url? We can check code easier

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0
Quote
12 hours ago, tuanphan said:

Hi. Your site is private. can you setup password & share url? We can check code easier

 

I have change it to public right now as it is pretty much ready. All I'm missing is the whatsapp icon in my social link. I currently show the link icon.

Link to comment
  • 0
On 1/25/2021 at 7:38 AM, geeknproud said:

I still need help with this @tuanphan 

Is there something you can suggest, please?

Hi. Sorry for the delay. Just had some days off.

Step 1. Edit Footer > Add a Code Block > paste this code

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

Step 2. Let me know. I will check code to replace link icon to whatsapp

https://fontawesome.com/v4.7.0/icon/whatsapp

 

Edited by tuanphan

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0
7 hours ago, tuanphan said:

Hi. Sorry for the delay. Just had some days off.

Step 1. Edit Footer > Add a Code Block > paste this code


<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

Step 2. Let me know. I will check code to replace link icon to whatsapp

https://fontawesome.com/v4.7.0/icon/whatsapp

 

Hi @tuanphan thanks for replying. I've added the code block with the code you mentioned. 

Link to comment
  • 0

Step 2. Add this to Design > Custom CSS

header#header [href*="wa.me"] {
    visibility: hidden;
}
header#header [href*="wa.me"]:before {
    visibility: visible;
    content: "\f232";
    font-family: FontAwesome;
}

image.thumb.png.23a6861aad716febd8092c5e72fa134d.png

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0
On 2/4/2021 at 7:11 AM, tuanphan said:

Step 2. Add this to Design > Custom CSS


header#header [href*="wa.me"] {
    visibility: hidden;
}
header#header [href*="wa.me"]:before {
    visibility: visible;
    content: "\f232";
    font-family: FontAwesome;
}

image.thumb.png.23a6861aad716febd8092c5e72fa134d.png

That was awesome, sorry to bother you once more, I swear this is the last thing. I tried doing it myself but couldn't figure how to do the same but for the link icon on the footer so that it will show the whatsapp icon there as well.

image.png.58136e06559c3b1f084a41dada151327.png

 

Link to comment
  • 0

I managed to figure it out, well kinda, still need some help.

After try some stuff with the code I found what I needed to target and came up with this:

footer#footer-sections [href*="wa.me"] {
    visibility: hidden;
}
footer#footer-sections 

[href*="wa.me"]:before {
    visibility: visible;
    content: "\f232";
    font-family: FontAwesome;
 }

However when doing this, for some weird reason the icon end up misaligned:

image.png.eef781c31e0fc7d0ea4302ced38cd3db.png

tried a few other CSS options to try and bring it to alignment but I just couldn't. Not sure what I might be missing.

 

Link to comment
  • 0
On 2/7/2021 at 8:26 AM, tuanphan said:

Usethiss code


footer.sections [href*="wa.me"] {
    visibility: hidden;
    position: relative;
}
footer.sections [href*="wa.me"]:before {
    visibility: visible;
    content: "\f232";
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

 

Thank you so much! That worked perfectly. 

You can close this post. That's all I needed.

Link to comment
  • 0
On 2/2/2021 at 5:39 AM, tuanphan said:

Hi. Sorry for the delay. Just had some days off.

Step 1. Edit Footer > Add a Code Block > paste this code


<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

Step 2. Let me know. I will check code to replace link icon to whatsapp

https://fontawesome.com/v4.7.0/icon/whatsapp

 

Hi @geeknproud
a - You pasted this code as a code block in the footer or in the settings > advanced > code injection(footer)?
b - this step worked for the header?

I'm lost on this. It's not working for me :-(

 

Link to comment
  • 0
19 hours ago, Lianna said:

Hi @geeknproud
a - You pasted this code as a code block in the footer or in the settings > advanced > code injection(footer)?
b - this step worked for the header?

I'm lost on this. It's not working for me :-(

 

Can you share link to your site?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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...