How to replace an icon using CSS


#1

Is it possible to replace the share icon in mobile using CSS?

I would like to replace it with the below font-awesome icon

<i class="fa fa-whatsapp" aria-hidden="true"></i>

(Kris) #2

Similar to this answer

So, in your case:

.mobile-view {
    .fa-link:before {
        content: "\f232";
    }
}

(Jeff Atwood) #3