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 background-color class on edit view? #17

Open
pinksharpii opened this issue Mar 14, 2019 · 1 comment
Open

Add background-color class on edit view? #17

pinksharpii opened this issue Mar 14, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@pinksharpii
Copy link

I modified the plugin on my end to exclude the text color since the client will only be able to make the background 3 different colors - blue, white, or black. In my css, if the section has "has-black-background-color" as a class, I give it white text. This works on the front end. But there's no way in the edit view to target that section because it's not being given the "has-black-background-color" class during the edit phase. Is it possible to add the background color class while in the admin?

@marcusig
Copy link
Owner

@pinksharpii hmm.. I guess it should be possible. Will take a look.

@marcusig marcusig self-assigned this Mar 15, 2019
@marcusig marcusig added the enhancement New feature or request label Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants