Add contact info to email collection bar?
URL to the page in question:
http://
-
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
Hello Brent,
It is possible to do that. Here’s how:
- Go to the Appearance section in your WordPress dashboard and choose Edit.
- From the list of files on your right, choose header-links.php.
- 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.
- Save your changes.
- 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
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
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
Hi Bill,
I have just put the basics up as the site is in development.
http://shift-command.com/dev/
Thanks,
Brent
Thanks Brent. Let’s give this a try:
- Go to your theme options page and choose the Style tab.
- 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;
}
- Update your settings.
I think that should move them to the opposite side for you. Let me know if it gives you trouble.
Bill
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
Thanks Brent…I do appreciate it.
Have a great night,
Bill
- The topic ‘Add contact info to email collection bar?’ is closed to new replies.