Title: adding class to callnowbutton
Last modified: August 22, 2021

---

# adding class to callnowbutton

 *  Resolved [magnetli](https://wordpress.org/support/users/magnetli/)
 * (@magnetli)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/adding-class-to-callnowbutton/)
 * is that possible to add a class to the button?

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

 *  Plugin Author [Jerry Rietveld](https://wordpress.org/support/users/jgrietveld/)
 * (@jgrietveld)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/adding-class-to-callnowbutton/#post-14793687)
 * Hi magnetli,
 * Thanks for your message. There’s no option to add a class name via the interface.
   What classname would you like to add and for what purpose? I’d like to understand
   your requirements for this a bit better.
 * Thanks,
    Jerry
 *  Thread Starter [magnetli](https://wordpress.org/support/users/magnetli/)
 * (@magnetli)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/adding-class-to-callnowbutton/#post-14795901)
 * Hi jerry!
    Im using a virtal numbers service. There i a code that should replace
   the number reccording to where the user came from. To do that, i need to a class
   to the widget.
 * Thanks!
 *  Plugin Author [Jerry Rietveld](https://wordpress.org/support/users/jgrietveld/)
 * (@jgrietveld)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/adding-class-to-callnowbutton/#post-14839049)
 * Hi magnetli,
 * Thanks for the context. Does it have to be a class name? Is it not possible to
   target an id? You could just target `#callnowbutton` and that should do the same.
   Hope this helps. There’s currently no option to add a class name to the call 
   link via the admin interface.
 * Cheers,
    Jerry

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

The topic ‘adding class to callnowbutton’ is closed to new replies.

 * ![](https://ps.w.org/call-now-button/assets/icon-256x256.gif?rev=3297555)
 * [Call Now Button - The #1 Click to Call Button for WordPress](https://wordpress.org/plugins/call-now-button/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/call-now-button/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/call-now-button/)
 * [Active Topics](https://wordpress.org/support/plugin/call-now-button/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/call-now-button/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/call-now-button/reviews/)

## Tags

 * [class name](https://wordpress.org/support/topic-tag/class-name/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jerry Rietveld](https://wordpress.org/support/users/jgrietveld/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/adding-class-to-callnowbutton/#post-14839049)
 * Status: resolved