rgba background
-
hello i write the code with this line to work the background color any other solutions ? and still sometimes it not prints the code to the html in some pages not to all ? i have mention this bug many many times in here and with mail to your support please help me
// convert rgb color to hex $bg_rgb_color = $this->hex2rgb( $options['colors']['bar'] ); // invalid color? use default if ( $bg_rgb_color === false ) $bg_rgb_color = $this->hex2rgb( $cn->defaults['general']['colors']['bar'] ); // allow rgba background echo str_replace( '__CN_BG_COLOR__', esc_attr( 'rgba(' . implode( ',', $bg_rgb_color ) . ',' . ( (int) $options['colors']['bar_opacity'] ) * 0.01 . ');' ), $output ); add_filter( 'safe_style_css', [ $this, 'allow_style_attributes' ] ); $output = apply_filters( 'cn_cookie_notice_output', wp_kses_post( $output ), $options ); remove_filter( 'safe_style_css', [ $this, 'allow_style_attributes' ] ); }
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘rgba background’ is closed to new replies.