Header and text colour in product page
-
Hi,
How can I have the header and text colour the same in all pages? it seems the product page changes it to dark text with white header.
Thanks
Hello,
We are glad to know that you considered using WoodMart for your web-site. I hope you will be happy with it.
Try to add the following code snippet to the functions.php file in the child theme
function woodmart_custom_header_styles( $rules ){
if( is_product() ) {
$rules['header_color_scheme'] = array(
'will-be' => 'light',
);
$rules['menu_color_scheme'] = array(
'will-be' => 'light',
);
}
return $rules;
}
add_filter( 'woodmart_get_specific_options', 'woodmart_custom_header_styles' );
Kind Regards
Xtemos
Thanks, but it didn’t work.
Please have a look at my 2 links and see the difference.
Did you add this code to the child theme and enabled it in Appearance -> Themes.
The topic ‘Header and text colour in product page’ is closed to new replies.