Put two icons in the same paragraph

3

I have a paragraph in my view. In this paragraph, I have the indication of my cell phone and I got the bootstrap symbol, like this:

<p><i class="fa fa-phone"></i> Phone (Brasil) : +55 11 99999-8888</p>

I would like you to have the WhatsApp together with the token on the phone, so that both appear. It's possible?

I tried to put the WhatsApp and when I render it is only him, if I put the phone last, there appears only the phone, that is, it does not add any more.

How would I do this, if at all possible?

    
asked by anonymous 22.05.2017 / 20:16

2 answers

5

Yes, it is possible.

Just add another tag with the fa and fa-whatsapp classes

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">

<p>
  <i class="fa fa-phone"></i>
  <i class="fa fa-whatsapp"></i> 
  Phone (Brasil) : +55 11 99999-8888
</p>
    
22.05.2017 / 20:18
0

create a span tag where you want to put the whatsapp symbol, add the tag "class" and put the fa fa-whatsapp "(I do not remember if that's the name of the class that matches the whatsapp icon )

    
22.05.2017 / 20:19