Title: Button in header image
Last modified: August 31, 2016

---

# Button in header image

 *  [parasmani2k](https://wordpress.org/support/users/parasmani2k/)
 * (@parasmani2k)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/button-in-header-image/)
 * I need to add a button on second slide of the header image in [http://aequor.in/reputation2/](http://aequor.in/reputation2/)
 * Below jQuery is working fine in chrome console:
 *     ```
       jQuery("#home-slides .slides-container").find("div:nth-child(2)").append('<a href="/index.php/political-campaign/">CLICK FOR DETAILS</a>')
       ```
   
 * but when I put the code in header.php under <head>…….</head> it’s not working.
 * Please help
    thanks in advance

The topic ‘Button in header image’ is closed to new replies.

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [header.php](https://wordpress.org/support/topic-tag/header-php/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * 0 replies
 * 1 participant
 * Last reply from: [parasmani2k](https://wordpress.org/support/users/parasmani2k/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/button-in-header-image/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
