Skip to content

How to add CSS code to admin dashboard via Child Theme

1 minute read

Please add this function to your MyHome Child Theme functions.php file with your custom CSS code (the one below example will change size heading 1 font size to 100px):

php
function admin_style() {
 echo '
 <style>
h1 {
 font-size:100px!important;
}
 </style>
 ';
}
 
add_action( 'admin_head', 'admin_style' );

Ask the people who build MyHome WPBakery

We answer by email from support@tangiblewp.com. With Premium Support, we also fix your site when something breaks.

Was this guide helpful?