Fix CSS issue with image not showing and css overrides not loading.
This commit is contained in:
@ -24,7 +24,7 @@ function cwv3_get_css() {
|
||||
$custom_css = get_option( 'cwv3_css', '' );
|
||||
$opacity = get_option( 'cwv3_bg_opacity', '' );
|
||||
|
||||
$bg_image_css = ! empty( $image ) ? 'background-image: url( '. esc_url( $img ) . ' ) no-repeat top center;' : '';
|
||||
$bg_image_css = ! empty( $image ) ? 'background-image: url( '. esc_url( $image ) . ' ) no-repeat top center;' : '';
|
||||
$bg_color_css = ! empty( $color ) ? 'background-color: ' . $color['color'] . ';' : '';
|
||||
|
||||
ob_start();
|
||||
@ -40,6 +40,7 @@ function cwv3_get_css() {
|
||||
<?php endif; ?>
|
||||
|
||||
}
|
||||
<?php echo $custom_css; ?>
|
||||
<?php do_action( 'cwv3_after_css' ); ?>
|
||||
</style>
|
||||
<!-- END CWV3-CSS -->
|
||||
|
Reference in New Issue
Block a user