@kharisblank
Hello,
Ok, it works, it’s closer of what I had before. The only thing missing is the menu text to be bold. I see Menu size 14, but how to give instruction to have it bold again?
thanks
add_action('wp_enqueue_scripts', 'sydney_child_menu_font_size', 9999);
function sydney_child_menu_font_size() {
$custom_css = '';
$menu_size = get_theme_mod( 'menu_size', '14' );
if ($menu_size) {
$custom_css .= "#mainnav ul li a { font-size:" . intval($menu_size) . "px; }"."\n";
}
wp_add_inline_style( 'sydney-style', $custom_css );
}
>>>> Hi @isabelleroger,
I presume that I have to do the same thing. The same snippet for all the websites? So, I have to add to function.php this snippet to the child theme ?
Yes, the snippet applies for each site.
You can add the snippet directly from your dashboard (without child theme) by using this plugin. Or add it to your child theme’s functions.php file.
Regards,
Kharis`