2016-06-06, 00:36:22
Hi Martin, I decided to try your plugin in conjunction with the plugin GS Custom Settings.
I use it to select the radio button.
Template code looks like.
font.scss code looks like.
Code generated file css looks.
If I change the code on this
, the link to the file looks like this
What to do?
I use it to select the radio button.
Template code looks like.
Code:
<link rel="stylesheet" type="text/css" href="<?php get_scss_css('font.scss', array(
'use_font_text'=>return_setting('site','use_font_text'),
'font_weight'=>return_setting('site','font_weight'),
'use_font_heading'=>return_setting('site','use_font_heading'),
'font_weight_heading'=>return_setting('site','font_weight_heading')
), true); ?>" />
Code:
body {
font-family: param(use_font_text), Arial, Helvetica, sans-serif;
font-weight: param(font_weight);
}
h1, h2, h3, h4, h5 {
font-family: param(use_font_heading), Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight: param(font_weight_heading);
}
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5 {
font-family: param(use_font_heading), Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight: param(font_weight_heading);
}
Code generated file css looks.
Code:
body {
font-family: 1, Arial, Helvetica, sans-serif;
font-weight: 1;
}
h1, h2, h3, h4, h5 {
font-family: 0, Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight: 1;
}
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5 {
font-family: 0, Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight: 1;
}
If I change the code on this
Code:
<link rel="stylesheet" type="text/css" href="<?php get_scss_css('font.scss', array(
'use_font_text'=>get_setting('site','use_font_text'),
'font_weight'=>get_setting('site','font_weight'),
'use_font_heading'=>get_setting('site','use_font_heading'),
'font_weight_heading'=>get_setting('site','font_weight_heading')
), true); ?>" />
, the link to the file looks like this
Code:
<link rel="stylesheet" type="text/css" href="Roboto400Open Sans Condensed700http://uikit.aa/theme/UIKit/font7a6b92474c53ea8d208a871e95603fae.css">