How do I put a button on a the header

Hi,

I want to put a button on the header.

How can I do it.

This is the site: http://mylittlewhitelies.com/

Password for the site is: MediaCentralPassword

Please help me out.

Thanks.
jonathanduane2010Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
What is the problem?

What is preventing you from putting a button in the header?
<header>
    ....
    <button>My Button</button>
   ...
</header>

Open in new window

0
jonathanduane2010Author Commented:
Its a wordpress site and I am not really sure, where to put the code
0
sajayj2009Commented:
If you are not sure where to add button, you can append a button on runtime using jQuery.
What is purpose?

In wordpress it might be in index-main.php or index.php. You can go through each files in themes > editor in dashboard. On right extreme end all editable php files will be listed.

You can corelate the content with classname/idnames in html source of current site. You will get some clue regarding that.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Julian HansenCommented:
What must the button do?
0
jonathanduane2010Author Commented:
It will redirect to the below contact form.

It will work same as the "Enter the Competition" button which is there on the site
0
sajayj2009Commented:
$(function() {
   $(".header_mid_inner").append("<a href="http://mylittlewhitelies.com/#contact" class="cmsms_button"><span>Contact Us</span></a>");
});
1
jonathanduane2010Author Commented:
where should I put this code? I mean, in which file?

Thanks.
0
sajayj2009Commented:
Will work in footer.php...or if your theme have js code input in dashboard.

<script>
jQuery(function() {
	jQuery(".header_mid_outer").append("<a href='http://mylittlewhitelies.com/#contact' class='cmsms_button' style='position:absolute; z-index:9999; right:10%; top:12%;'><span>Contact Us</span></a>");
});
</script>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.