Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Allow specifying a button css class #33

Closed
nanek opened this issue Sep 25, 2013 · 1 comment
Closed

Allow specifying a button css class #33

nanek opened this issue Sep 25, 2013 · 1 comment

Comments

@nanek
Copy link
Contributor

nanek commented Sep 25, 2013

I'd like to override the button style to match my application. However the default style .hopscotch-nav-button and .hopscotch-nav-button .next applies a number of css styles. It would be nice if I could specify a buttonCssClass to be used instead of the default .hopscotch-nav-button. This would allow me to easily change the button style without having to try to undo the styles added by .hopscotch-nav-button. Thanks!

@timlindvall
Copy link
Contributor

Resolved as of 0.2.0. This version adds support for rendering tour and callout bubbles using templates (or other render methods). So, to add additional classes (or change the classes that are added by default), you can provide your own render method during configuration and/or modify the template that comes with Hopscotch and rebuild. Check out the readme in src/tl for details.

I hope this helps!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants