Reply 61281 to: How to add HTML in header

Avatar: Eva
Eva Kemp
Support staff
May 4, 2015 at 11:43

Hello,

I’ve edited the file header-structure-3.php and added this code on line 24:

<html>
<div style="width: 500px; height: auto;">
<h1 style="color: #090763; font-family: 'Gudea', sans-serif; font-size: 25px; font-weight: bold; line-height: 31px; text-align: center;">COME VISIT ONE OF OUR SHOWROOMS</h1>
<div style="float: left;">
<p style="color: #565656; font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 17px; text-align: center; margin: 0;"><b>5041 N. Western Ave. Chicago, IL</b></p>
<p style="color: #565656; font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 17px; text-align: center; margin: 0;">Office Furniture Sales & Showroom</p>
<p style="color: #565656; font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 17px; text-align: center; margin: 0;"><i>(Mostly Used Office Furniture)</i></p>

</div>
<div style="float: right;">
<p style="color: #565656; font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 17px; text-align: center; margin: 0;"><b> 7232 N. Western Ave. Chicago, IL</b></p>
<p style="color: #565656; font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 17px; text-align: center; margin: 0;">Used Office Furniture Sales &</p>
<p style="color: #565656; font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 17px; text-align: center; margin: 0;">Purchasing, Plus an Auction House!</p>

</div>
<div style="clear: both;"></div>
<div>
<p style="float: left; color: #3a3a3a; font-family: Arial, Helvetica, sans-serif; font-size: 25px; font-weight: bold; line-height: 28px; text-align: center; margin: 10px 0 0 35px; text-decoration: none;"><a style="text-decoration: none; color: #3a3a3a;" href="tel:7732713000" target="_self">773-271-3000</a></p>
<p style="float: right; color: #3a3a3a; font-family: Arial, Helvetica, sans-serif; font-size: 25px; font-weight: bold; line-height: 28px; text-align: center; margin: 10px 35px 0 0;"><a style="text-decoration: none; color: #3a3a3a;" href="tel:7734653300" target="_self">773-465-3300</a></p>

</div>
<div style="clear: both;"></div>
</div>
<!-- div -->
</html>

Please check your header now.
We recommend to make changes in a child theme http://codex.wordpress.org/Child_Themes not to lose modifications after theme update. So please create child theme and copy the file into there. Create the same structure as in the parent theme – headers/header-structure-3.php.

Thank you.
Regards,
Eva Kemp.

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.