Hey there,
I don’t know if I get that right. You can use the ‘output’ argument as shown in http://kirki.org/#output in order to output the CSS of a control
or
use a simple texarea control and enqueue it’s content though a simple function like
function custom_css() {
$css = get_theme_mod( 'css', '' );
if ( ! empty( $css ) ) {
wp_add_inline_style( 'maera', $css );
}
}
Hope that helps,
Dimitris
Thread Starter
Daniel
(@puntofape)
I found that if stylesheet_id is defined the inline style is not print in the front-end.
@daniel are you embedding Kirki in a theme?
What is the stylesheet ID of your theme? Are you using the same for the Kirki configuration?
Thread Starter
Daniel
(@puntofape)
Yes, I embeded it in a theme.
The id is flash-css.
I try with the same and with a differente one, in both cases inline styles not printed in the frontend.
Thread Starter
Daniel
(@puntofape)
I still need help with this…
Thread Starter
Daniel
(@puntofape)
Master version on github works fine. This on WordPress doesn’t.
Hey Daniel!
We’ll be updating the version here as soon as we run some more tests on the version on github and make sure that the latest changes we’ve made are fine.