Add contact info to email collection bar?

Support Area Forums Foxy Add contact info to email collection bar?

Viewing 8 posts - 1 through 8 (of 8 total)
URL to the page in question: http://
  • Author
    Posts
  • #24324
    brent stewart
    Participant

    Hi,

    is it possible to add an email address nd phone number to the same top menu bar that the email collection box is on?

    Thanks,

    Brent

    #24325
    Bill Robbins
    Moderator

    Hello Brent,

    It is possible to do that. Here’s how:

    1. Go to the Appearance section in your WordPress dashboard and choose Edit.
    2. From the list of files on your right, choose header-links.php.
    3. At the top of the file you’ll see this:
      
      <ul id="header-links">
      

      Right below that add in this:

      
      <li class="special-link"><a href="mailto:you@email.com">you@email.com</a></li>
      <li class="special-link">(800) 888-8888</li>
      

      Replace both you@email.com with your email address. Also replace (800) 888-8888 with your phone number.

    4. Save your changes.
    5. Next go to the Theme Options page and choose the Styling tab. Scroll down to the Custom CSS box and add this:
      
       #header-links li.special-link { margin-left: 15px; position: relative; top: -2px; }
      

      and save your changes.

    That should give you a phone number and email address in your header. Let me know if you have any questions.

    Thanks,
    Bill

    #24376
    brent stewart
    Participant

    Hi Bill,

    thanks very much for the prompt response,. That works great.

    is there any way to have the contact info justified on the far left?

    Thanks,

    Brent

    #24379
    Bill Robbins
    Moderator

    It’s possible we can do that without having to start over. Could you send over the URL to your site so I can take a look?

    Thanks,
    Bill

    #24380
    brent stewart
    Participant

    Hi Bill,

    I have just put the basics up as the site is in development.

    http://shift-command.com/dev/

    Thanks,

    Brent

    #24381
    Bill Robbins
    Moderator

    Thanks Brent. Let’s give this a try:

    1. Go to your theme options page and choose the Style tab.
    2. Scroll down to the Custom CSS box and add this:
      
      body #header-links li.special-link {
      	position: absolute;
      	left: 0;
      }
      
      body #header-links li.special-link:first-of-type {
      	left: 120px;
      }
      
    3. Update your settings.

    I think that should move them to the opposite side for you. Let me know if it gives you trouble.

    Bill

    #24384
    brent stewart
    Participant

    Hi Bill,

    that worked perfectly.

    Thanks again for your timely replies.

    I have worked with a number of different theme developers and you have by far provided the best support.

    Brent

    #24385
    Bill Robbins
    Moderator

    Thanks Brent…I do appreciate it.

    Have a great night,
    Bill

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Add contact info to email collection bar?’ is closed to new replies.