Re-add css option output

This commit is contained in:
Jay Wood
2014-09-06 00:19:39 -04:00
parent 387642546b
commit d8ad66ba6a

View File

@ -37,6 +37,11 @@ class CWV3 {
$img = get_option( 'cwv3_bg_image', '' ); $img = get_option( 'cwv3_bg_image', '' );
$color = get_option( 'cwv3_bg_color' ); $color = get_option( 'cwv3_bg_color' );
?><style type="text/css"><?php ?><style type="text/css"><?php
$custom_css = get_option( 'cwv3_css' );
if( !empty( $custom_css ) ){
echo $custom_css;
}
if ( !empty( $img ) ) { if ( !empty( $img ) ) {
?> ?>
#cboxOverlay{background:url(<?php echo $img; ?>) no-repeat top center; background-color:<?php echo $color['color']; ?>;} #cboxOverlay{background:url(<?php echo $img; ?>) no-repeat top center; background-color:<?php echo $color['color']; ?>;}