Okay
  Public Ticket #454638
How do I add a phone number to the header?
Closed

Comments

  • Matt started the conversation

    I want to add the client's phone number in the header, between the logo and navigation bar. I could just make it part of the logo image, but if I did that then it wouldn't be possible for mobile device users to click on it to dial the number. I used the following HTML on my own site and it worked great, but I don't know exactly how to implement this perfectly in your theme:

    < div itemscope itemtype="http://schema.org/LocalBusiness" style="width:260px;float:right;margin-right:30%;margin-top:0.7%;">

    <h2 style="color:#00BB57;" itemprop="telephone">Call: (208) 939-0493</h2>

    </div>

    Can I use the above HTML, and if so, exactly where should I put it in the header.php file? If the above HTML will not work then exactly what code should I use and where should I place it? Thanks in advance for your help!

  •  8,851
    Tahir replied

    Hey,

    You will have to place the div inside the logo div and then use css to align it accordingly.

    Thanks


    ThemeNectar Support Team