How can I use custom css file for option framework?
Hi, Anyone can help me please?
I am using the redux framework to develop my theme.
While I created dynamic-css.php file in developing time it worked, but after resetting the wordpress the dynamic-css.php doesn't work in header.php it working, So how can I make CSS file which property value will change by options panel?
Did you figure this out?
Hello ! For use $globals Redux on css.php file :-)
On start your php css wrote this line :
define('WP_USE_THEMES', false); require('../../../../wp-load.php'); /* change path in your level :-) */
header("Content-type: text/css; charset: UTF-8"); $variableFooterColor = $GLOBALS['redux_demo']['opt-color-footer']; /* access to globals variables */
/* write css and use php variables */
Enjoy ;-)