Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
Greetings & Salutations, I was wondering if there is a way to use CSS to style ability command buttons and if there is not, if there is an alternative to this, such as creating buttons via html (which does not seem to work).
You can style the look of Ability command buttons via character sheet CSS if they're within a roll template. You can send links (ability command buttons are actually <a> elements, not <button>s) with inline styling if the message is sent by an API script. You can use a plugin like Stylish to style ability command buttons (but that works only locally on your computer, of course).
Like this <a style="border:2px solid black;background:transparent;color:black;" href="~Tom|TestAbility">Click me</a> Same for API command buttons. Essentially, put into the href whatever you would normally put into the round brackets for the button.