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

Gutenberg buttons color class names overwritten by Hello Elementor CSS #148

Open
bratvanov opened this issue Feb 23, 2021 · 0 comments
Open

Comments

@bratvanov
Copy link

When using the native Buttons block in Gutenberg and specifying a named pre-defined text colour, it will get overwritten by the style.css and style.min.css of Hello Elementor.

The named pre-defined colours in Gutenberg have their own class name which are added to the button element and will be overwritten by Hello Elementor, however when selecting "Custom color" in Gutenberg and choosing from the color picker - these are added as inline style="color:" to the element and not as a class, in which case they're not overwritten.

So here are some examples of the defaults that get overwritten:

:root .has-white-color {
    color: #fff;
}
:root .has-vivid-red-color {
    color: #cf2e2e;
}
:root .has-vivid-cyan-blue-color {
    color: #0693e3;
}

gutenberg-button

hello-elementor-color-inheritance-bug

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