Title: Button with css class
Last modified: February 1, 2024

---

# Button with css class

 *  Resolved [Jason Chong](https://wordpress.org/support/users/dantianhealth/)
 * (@dantianhealth)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/button-with-css-class/)
 * I am trying to implement gamipress with TutorLMS to increase student engagement.
   My intention is to award points when they create a new Q&A on a course, or reply
   to a question already there.
 * I am using the “**Click a button with a specific Class**” and trying to apply
   the css class “sidebar-ask-new-qna-submit-btn” but it does not appear to be registering
   as an event.
 * also be much appreciated)

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

 *  Thread Starter [Jason Chong](https://wordpress.org/support/users/dantianhealth/)
 * (@dantianhealth)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/button-with-css-class/#post-17392200)
 * NB I am trying to apply this to the pre-existing buttons within TutorLMS, is 
   it possible to do this?
 *  Plugin Author [Dioni Sánchez](https://wordpress.org/support/users/dioni00/)
 * (@dioni00)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/button-with-css-class/#post-17393263)
 * Hi [@dantianhealth](https://wordpress.org/support/users/dantianhealth/),
 * In the case of using custom buttons or other predefined ones. It is necessary
   to add the “gamipress-button” class so that GamiPress can detect that button 
   and thus award profits. If it is a button created by TutorLMS you should add 
   the “gamipress-button” class to the button code.
 * In the following link you can get more information about how to use it in custom
   elements.
 * [https://gamipress.com/add-ons/button/](https://gamipress.com/add-ons/button/)

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

The topic ‘Button with css class’ is closed to new replies.

 * ![](https://ps.w.org/gamipress-button/assets/icon-256x256.png?rev=2206358)
 * [GamiPress - Button](https://wordpress.org/plugins/gamipress-button/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gamipress-button/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gamipress-button/)
 * [Active Topics](https://wordpress.org/support/plugin/gamipress-button/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gamipress-button/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gamipress-button/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Dioni Sánchez](https://wordpress.org/support/users/dioni00/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/button-with-css-class/#post-17393263)
 * Status: resolved