Welcome! To use this support forum, please Login or Join Today!

   

Adding contact information to header

{name}
RankRank

Total Posts: 35

Joined 2016-05-15

PM

 

What would be the best way to add contact information to the top right-hand corner of the header, above the menu?

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Hi, My apologies for the delayed response.

Orion’s design doesn’t really have a header style conducive for much more than the logo and nav unless you are displaying the nav below the logo. Is this the scenario in your case? https://cl.ly/332Z0d191i3M

Either way you could try the code below, but you may need to position it absolutely if your nav is inline with your logo - in which case you’d need to add a media query for mobile and desktop to remove the absolute positioning.

You could add the address HTML to your child theme functions.php

function add_my_address() {
    echo '<div class="header_address">';
    echo '111 Address Dr. City, State';
    echo '<br />';
    echo '1.800.555.1212';
    echo '</div>';
}
add_action('st_header','add_my_address', 2);

And add this CSS to your style.css:

.header_address {
    float:right;
    color:#fff;
    font-size: 14px;
}