silvestroilgatto
Forum Replies Created
-
Forum: Plugins
In reply to: [Kirki – Freeform Page Builder, Website Builder & Customizer] Google FontsHello Dimitris,
The issue is solved! Thank you, you’re awesome 🙂
Forum: Plugins
In reply to: [Kirki – Freeform Page Builder, Website Builder & Customizer] Google FontsI appreciate it, Aristeides!
Forum: Plugins
In reply to: [Kirki – Freeform Page Builder, Website Builder & Customizer] Font SizeI go ahead and close this. Thank you, fantastic support!
Forum: Plugins
In reply to: [Kirki – Freeform Page Builder, Website Builder & Customizer] Font SizeYes, Dimitris, that was it! It works perfectly, thank you 🙂
Forum: Plugins
In reply to: [Kirki – Freeform Page Builder, Website Builder & Customizer] Font SizeHey Dimitris,
Got the latest development version from the GitHub repo and still get the same result: no preview but new font size value is saved and displayed outside of the Customizer preview. Here’s the code I used:
$fields[] = array( 'type' => 'slider', 'setting' => 'prefix_font_size', 'label' => __( 'Font-Size', 'textdomain' ), 'description' => __( 'Please choose a font-size.', 'textdomain' ), 'section' => 'prefix_typography', 'default' => 1, 'priority' => 20, 'choices' => array( 'min' => .7, 'max' => 2, 'step' => .01 ), 'output' => array( array( 'element' => 'body', 'property' => 'font-size', 'units' => 'em', ), ), 'transport' => 'postMessage', 'js_vars' => array( array( 'element' => 'body', 'function' => 'css', 'property' => 'font-size', ), ), );Cheers!
Forum: Plugins
In reply to: [Kirki – Freeform Page Builder, Website Builder & Customizer] Google FontsHi Dimitris,
I pulled the development version but I can’t see any changes on this front. This is the code:
$fields[] = array( 'type' => 'select', 'setting' => 'prefix_typeface', 'label' => __( 'Typeface', 'textdomain' ), 'description' => __( 'Please choose a typeface for headings and body copy.', 'textdomain' ), 'section' => 'prefix_typography', 'default' => 'Lato', 'priority' => 10, 'choices' => Kirki_Fonts::get_font_choices(), 'output' => array( array( 'element' => 'body, h1, h2, h3, h4, h5, h6', 'property' => 'font-family', ), ), 'transport' => 'postMessage', 'js_vars' => array( array( 'element' => 'body, h1, h2, h3, h4, h5, h6', 'function' => 'css', 'property' => 'font-family', ), ), );As I said, everything works fine with the local font types.
One more thing: when I use the development version, the background image in the Background control doesn’t work: it doesn’t get applied and is not visible in the preview either. The Background control in the stable version of the plugin here on the .org repo instead works perfectly. Perhaps I should open another thread for this?
Cheers!
Forum: Plugins
In reply to: [Kirki – Freeform Page Builder, Website Builder & Customizer] Google FontsHey Fovoc,
Thank you for your reply. The Kirki and the CSS code should be fine because the local fonts (Sans-serif, Serif, and Monospace) are applied correctly in the preview and displayed out of the Customizer. The problem is with the Google fonts only.
Thanks!
Forum: Plugins
In reply to: [Kirki – Freeform Page Builder, Website Builder & Customizer] Font SizeHey Fovoc,
Thanks for your reply. In the development version, the font-size takes effect: the modification is saved and displayed. However, the preview is not working.In the stable version here on the repo, the slider doesn’t display any modifications both on the preview page and out of the Customizer panel.
Thanks!