Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21657

    I am new to WordPress but proficient in CSS and HTML and some experience with PHP. What is the correct way to add contact info on the right side of the header. I am unfamiliar with the header.php file as it relates to word press. I didn’t insert any dynamic code just the old static HTML stuff…is this the best way? You can see what I have going right now at mtm.wpengine.com.

    Code:

    <div class=’container’>


    >the following is what I added {put float in custom.css file to make it work}

    <div class=’contact-info-header’>

    Mountain Top Media

    33279 Highway 41

    Coarsegold, CA 93614

    (559) 658-6867

    </div><!– end contact info –>

    <?php

    …removed the rest for brevity

    #112609

    Hey!

    Yes, it’s the best way. The contact info doesn’t change very often and I’d also “hardcode” it into header.php.

    Best regards,

    Peter

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Adding Contact Info in Header’ is closed to new replies.