Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #612226

    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.

    • This topic was modified 8 years, 8 months ago by rwwood. Reason: Problem resolved
    #612234

    Hi @rwwood ;
    have you tried with this code from Enfold Documentation :

    #612278

    Yes. As I said, it doesn’t remove the button entirely.

    #612470

    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

    #612610

    here it is

    #613447

    Hi,

    Thanks, but we need a URL as well :-)

    Thanks,
    Rikard

    #613736

    Sorry, I thought I’d given it earlier in the thread. It’s http://www.richardwwood.com/wp-admin

    #615707

    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.