kirki: Reset doesn't work for Background field.
Hi Ari.
I found nothing in the documentation for this field. How do I set the default image?
Kirki::add_field( 'ramsay_customize', array(
'type' => 'background',
'settings' => 'footer_background',
'label' => esc_html__( 'Footer Background', 'ramsay' ),
'description' => esc_html__( 'Select background for footer', 'ramsay' ),
'section' => 'section_footer_styling',
'priority' => $priority++,
'default' => array(
'background-color' => '#252525',
'background-image' => $theme_path_images . 'footer-bg.png',
'background-size' => 'cover'
),
'output' => array(
array(
'element' => '.vl-footer-outer',
),
)
) );
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 26 (9 by maintainers)
Commits related to this issue
- Possible fix for #1524 — committed to themeum/kirki by aristath 7 years ago
Thank you so much. It works.
I did not know that the rest of the fields are required.