Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slider not showing up #61

Closed
mantensteiner opened this issue Mar 29, 2013 · 6 comments
Closed

Slider not showing up #61

mantensteiner opened this issue Mar 29, 2013 · 6 comments

Comments

@mantensteiner
Copy link

I followed the steps in the documentation, called the .noUiSlider function on a div without error, but nothing is displayed.

I included the js-file and the two css-files.

Btw: In the documentation some instructions on which files to include and their purpose would be nice!

@leongersen
Copy link
Owner

Did you perhaps forget to apply the .noUiSlider class to the div?

<div class="noUiSlider"></div>

@mantensteiner
Copy link
Author

Ok, this was it. I didn't realize that the classname has to be specific (I just used it as selector).

Thanks!

@leongersen
Copy link
Owner

The classname doesn't have to be specific at all; it's just that the stylesheet is based on it. If you are writing your own styles, there is nothing stopping you from picking any other classname or id.

@mantensteiner
Copy link
Author

Got it, thanks!

Am 30.03.2013 um 11:17 schrieb Leon Gersen notifications@github.com:

The classname doesn't have to be specific at all; it's just that the stylesheet is based on it. If you are writing your own styles, there is nothing stopping you from picking any other classname or id.


Reply to this email directly or view it on GitHub.

@nickmccurdy
Copy link
Contributor

@leongersen Thank you, I didn't realize that I couldn't change the class name in my HTML because I didn't update it in the stylesheet I was using. If you think it would be useful, could you please add a notice about this to the documentation? When I was looking at it, I assumed that if I only needed to change the class in my HTML and JavaScript code.

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants