-
Notifications
You must be signed in to change notification settings - Fork 329
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
Background control and "Choice" #1918
Comments
background-color is only a fallback if background-image does not exist. in your case it seems that background-color is overriden by background-image. Look here for an elaborate solution: close issue #2026 |
I think the problem here is that all background fields are shown, either if a default is only added for color:
There doesn't seem to be any way to exclude the other controls. |
That was on purpose 😄 |
Makes sense! It's a bit inconsistent with how the Typography Control works which is probably what tripped the author up. |
Issue description:
Need to load color only from the background control for some section. It looks that the choice does not work. Other controls like typography works correctly.
It loads all styles such image, repeat etc...
Version used:
WP.org
Using theme_mods or options?
options
Code to reproduce the issue (config + field(s))
The text was updated successfully, but these errors were encountered: