diff --git a/modules/postmessage/postmessage.js b/modules/postmessage/postmessage.js
index a20c9b465..072f71a10 100644
--- a/modules/postmessage/postmessage.js
+++ b/modules/postmessage/postmessage.js
@@ -106,12 +106,22 @@
}
jQuery( 'head' ).append( '' );
cssArray[ i ] += args.element + '{font-weight:' + kirkiGetFontWeight( newval.variant ) + '}';
+ if ( -1 !== newval.variant.indexOf( 'italic' ) ) {
+ cssArray[ i ] += args.element + '{font-style:italic;}';
+ } else {
+ cssArray[ i ] += args.element + '{font-style:normal;}';
+ }
}
// Tweak for variants.
if ( 'variant' === subValueKey && ! _.isUndefined( newval['font-family'] ) ) {
- jQuery( 'head' ).append( '' );
- cssArray[ i ] += args.element + '{font-weight:' + kirkiGetFontWeight( newval.variant ) + '}';
+ jQuery( 'head' ).append( '' );
+ cssArray[ i ] += args.element + '{font-weight:' + kirkiGetFontWeight( subValueValue ) + '}';
+ if ( -1 !== subValueValue.indexOf( 'italic' ) ) {
+ cssArray[ i ] += args.element + '{font-style:italic;}';
+ } else {
+ cssArray[ i ] += args.element + '{font-style:normal;}';
+ }
}
if ( ! _.isUndefined( args.choice ) ) {