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

Add a prefix option #403

Open
jp26jp opened this issue Jun 15, 2018 · 0 comments
Open

Add a prefix option #403

jp26jp opened this issue Jun 15, 2018 · 0 comments

Comments

@jp26jp
Copy link

jp26jp commented Jun 15, 2018

It would be great if there was a prefix option for the CSS that's being embedded. I wanted to use this form but a lot of the CSS is getting overridden.

For example:

new Card({ 
  form: 'form', 
  container: '.container',
  prefix: 'html#ecwid_html body#ecwid_body .ecwid div'
})

This would then make it so that all of the css classes added to the page would be prefixed with html#ecwid_html body#ecwid_body .ecwid div

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