Skip to content

Add background-color class on edit view? #17

Description

@pinksharpii

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions