Adding Transparency to Themato Soup's Sticky Header plugin
-
I don’t know if anyone else has this issue but I would really like to add transparency to the sticky header. The simplest way I can see would be to simply add the transparency to the default color in the sticky-header-settings.php file. I just can’t seem to get the come right. please, anyone who can, please help! Code below:
// Sticky Header background color $wp_customize->add_setting( 'thsp_sticky_header[background_color]', array( 'default' => '#181818', 'sanitize_callback' => 'wp_filter_nohtml_kses', 'type' => 'option', 'capability' => 'edit_theme_options', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'thsp_sticky_header[background_color]', array( 'label' => __( 'Background color', $thsp_plugin_slug ), 'section' => 'thsp_sticky_header', 'settings' => 'thsp_sticky_header[background_color]', ) ) );
P.S…I’m a proper noob…
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding Transparency to Themato Soup's Sticky Header plugin’ is closed to new replies.