jonathanduane2010
asked on
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.
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.
ASKER
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.
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.
What must the button do?
ASKER
It will redirect to the below contact form.
It will work same as the "Enter the Competition" button which is there on the site
It will work same as the "Enter the Competition" button which is there on the site
$(function() {
$(".header_mid_inner").app end("<a href="http://mylittlewhitelies.com/#contact" class="cmsms_button"><span >Contact Us</span></a>");
});
$(".header_mid_inner").app
});
ASKER
where should I put this code? I mean, in which file?
Thanks.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What is preventing you from putting a button in the header?
Open in new window