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 type doesn't work #915

Closed
robbisy opened this issue Apr 21, 2016 · 1 comment
Closed

background type doesn't work #915

robbisy opened this issue Apr 21, 2016 · 1 comment
Labels

Comments

@robbisy
Copy link

robbisy commented Apr 21, 2016

Issue description:

Hi i don't know if background type still support but it doesn't output and opacity isn't show

Version used:

(Did you try using the develop branch from github? There's a chance your issue has already been adressed there)
2.3.1 develop branch

Using theme_mods or options?

option

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

Kirki::add_field( 'mik', array(
        'type'        => 'background',
        'settings'    => 'header_background',
        'label'       => __( 'Choose your header background', 'kirki' ),
        'description' => __( 'The header background you specify here will apply to the header area, including your menus and your branding.', 'kirki' ),
        'section'     => 'header_advertisement',
        'default'     => array(
            'color'    => 'rgba(255,0,255,0.3)',
            'image'    => '',
            'repeat'   => 'no-repeat',
            'size'     => 'cover',
            'attach'   => 'fixed',
            'position' => 'left-top',
            'opacity'  => 100
        ),
        'priority'    => 10,
        'output'      => 'header',
) );
@aristath
Copy link
Contributor

The current implementation for the background field is awful.
There's another ticket on #741 and the background field will soon be completely rebuilt.

@aristath aristath added the bug label Apr 27, 2016
@robbisy robbisy closed this as completed May 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants