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

Background control and choice #2262

Closed
Stas0238 opened this issue Sep 27, 2019 · 3 comments
Closed

Background control and choice #2262

Stas0238 opened this issue Sep 27, 2019 · 3 comments

Comments

@Stas0238
Copy link

Issue description:

Is there any solutions on the issue from the topic below during the time #1918 (comment) ?

Version used:

latest from wp.org

Using theme_mods or options?

theme_mods

Code to reproduce the issue (config + field(s))

@aristath
Copy link
Contributor

Could you please elaborate? What is the issue?

@Stas0238
Copy link
Author

@aristath How can I use only background-color property for other element and use the whole background control (image, color, size) for another ? For now it is working for each of elements as full background control but I need to make them work separately.

@aristath
Copy link
Contributor

aristath commented Oct 1, 2019

'output' => [
	[
		'element' => 'body' // Includes everything
	],
	[
		'element'  => '#content',
		'property' => 'background-color',
		'choice'   => 'background-color',
	]
]

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

3 participants