How do I put a button on a the header


I want to put a button on the header.

How can I do it.

This is the site:

Password for the site is: MediaCentralPassword

Please help me out.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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?
    <button>My Button</button>

Open in new window

jonathanduane2010Author Commented:
Its a wordpress site and I am not really sure, where to put the code
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.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Julian HansenCommented:
What must the button do?
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
$(function() {
   $(".header_mid_inner").append("<a href="" class="cmsms_button"><span>Contact Us</span></a>");
jonathanduane2010Author Commented:
where should I put this code? I mean, in which file?

Will work in footer.php...or if your theme have js code input in dashboard.

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

Open in new window

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

From novice to tech pro — start learning today.