Am I correct in assuming that a child theme folder structure should mimic that of the parent theme? Secondly, how do I override code in avia_admin.css? I’m trying to totally get rid of the Demo Import button. add_theme_support('avia_disable_dummy_import');
only removes the functionality within the button, but I want not to have it show at all. `.gotodemo {
display:none !important;
}
`
placed in my child theme copy of avia_admn.css doesn’t work either.
Thanks for your help.
Hi @rwwood ;
have you tried with this code from Enfold Documentation :
Yes. As I said, it doesn’t remove the button entirely.
Hi,
Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
Rikard
here it is
Sorry, I thought I’d given it earlier in the thread. It’s http://www.richardwwood.com/wp-admin
Hey!
Note that you can only override template files (single.php, page.php etc) in the child theme by default. Use the “admin_head” hook in the functions.php to insert internal styles in the dashboard:
add_action( 'admin_head', 'ava_custom_admin_style' );
function ava_custom_admin_style() {
echo "<style type='text/css'> .avia_section_header.goto_demo { display: none !important; } </style>";
}
This code will remove the Demo Import panel.
Cheers!
Ismael