Title: Close button or link
Last modified: August 21, 2016

---

# Close button or link

 *  Resolved [Lisa Boyd](https://wordpress.org/support/users/leaseahb/)
 * (@leaseahb)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/close-button-or-link/)
 * Great plugin! Just what I am looking for with the exception that I need to include
   a close button or link inside the popup window. I know how to style and put the
   link there, but not sure what I should code the link to do to close the window.
   Thanks for any direction you can give!
 * [http://wordpress.org/plugins/infopopup/](http://wordpress.org/plugins/infopopup/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Eddie](https://wordpress.org/support/users/ejamesonvalleyhopeorg/)
 * (@ejamesonvalleyhopeorg)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/close-button-or-link/#post-4498393)
 * I am also curious as to how to include a linked image or bit of text to close
   the popup window. Not all users will know to click outside of the popup to close
   it.
 *  [Eddie](https://wordpress.org/support/users/ejamesonvalleyhopeorg/)
 * (@ejamesonvalleyhopeorg)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/close-button-or-link/#post-4498449)
 * It may be better to code this to the Admin window and make it an option for the
   user. Either way, this option would be great.
 *  Plugin Author [Simon-chromaforge](https://wordpress.org/support/users/simon-chromaforge/)
 * (@simon-chromaforge)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/close-button-or-link/#post-4498627)
 * Hi both,
    Just spotted your posts. This is a great suggestion and we will add
   this to a future version. In the meantime, you could try this piece of code:
 * `<img src="../../wp-content/uploads/closebtn.png" onclick="infoCloseAllPopups()"/
   >`
 * Just add this to the content field in the popup admin. You may need to add a 
   bit of extra CSS to get the position you want.
    Also, make sure that the path
   to your close image is correct. I’ve tried it here in the office and it works
   well on my installation, but if you have any issues, please let me know.
 * Thanks,
    Simon
 *  Plugin Author [Simon-chromaforge](https://wordpress.org/support/users/simon-chromaforge/)
 * (@simon-chromaforge)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/close-button-or-link/#post-4498628)
 * Hi both,
    Just spotted your posts. This is a great suggestion and we will add
   this to a future version. In the meantime, you could try this piece of code:
 * `<img src="../../wp-content/uploads/closebtn.png" onclick="infoCloseAllPopups()"/
   >`
 * Just add this to the content field in the popup admin. You may need to add a 
   bit of extra CSS to get the position you want.
    Also, make sure that the path
   to your close image is correct. I’ve tried it here in the office and it works
   well on my installation, but if you have any issues, please let me know.
 * Thanks,
    Simon

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Close button or link’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/infopopup.svg)
 * [Infopopup](https://wordpress.org/plugins/infopopup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/infopopup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/infopopup/)
 * [Active Topics](https://wordpress.org/support/plugin/infopopup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/infopopup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/infopopup/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Simon-chromaforge](https://wordpress.org/support/users/simon-chromaforge/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/close-button-or-link/#post-4498628)
 * Status: resolved