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

Should use more specific classnames #4324

Open
Umaroth opened this issue Feb 25, 2025 · 0 comments
Open

Should use more specific classnames #4324

Umaroth opened this issue Feb 25, 2025 · 0 comments

Comments

@Umaroth
Copy link

Umaroth commented Feb 25, 2025

Classnames that start with ".slick" are too generic and conflict with my Shopify theme which already uses several of the exact same classnames. You should make the classnames more specific by adding a prefix or suffix to reduce conflicts with other plugins/themes.

I fixed it for myself by editing all of the classnames in each of the .css and .js files to be prepended with "ken", like ".kenslick-slider"

This isn't a high priority issue, since I've already fixed it for myself but increasing compatibility would still be a useful change.

For reference, my updated files are attached (re-extensioned to .txt files because Github didn't allow me to upload .css or .js files

kenslick-1.8.1.css.txt

kenslick-1.8.1.min.js.txt

kenslick-theme-1.8.1.css.txt

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

No branches or pull requests

1 participant