We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The generated rule is background-image: http://link/to/image but should be background-image: url(http://link/to/image)
background-image: http://link/to/image
background-image: url(http://link/to/image)
2.3.2
theme_mods
'settings' => 'header_background_image', 'label' => esc_html__('Background image', 'cf47rs'), 'type' => 'image', 'default' => '', 'transport' => 'auto', 'output' => [ [ 'element' => '.header:not(.header--overlay)', 'property' => 'background-image' ] ]
The text was updated successfully, but these errors were encountered:
I tend to use the prefix and suffix for background-image, see https://kirki.org/docs/arguments/output.html
Example:
'settings' => 'header_background_image', 'label' => esc_html__('Background image', 'cf47rs'), 'type' => 'image', 'default' => '', 'transport' => 'auto', 'output' => array( array( 'element' => '.header:not(.header--overlay)', 'property' => 'background-image', 'postfix' => 'url(', 'suffix' => ')', ), ), ...
Sorry, something went wrong.
f1145ca
@chetzof hey there! I believe this was just fixed, can you please check the develop branch?
No branches or pull requests
Issue description:
The generated rule is
background-image: http://link/to/image
but should be
background-image: url(http://link/to/image)
Version used:
2.3.2
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
The text was updated successfully, but these errors were encountered: