Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #294532

    Hi folks,

    I was wondering if there is any simple and easy way of removing “Import Parent Theme Settings” button from my Enfold Child theme main settings in a similar fashion as explainded here: <http://kriesi.at/documentation/enfold/remove-the-import-dummy-data-button/&gt;

    Straight to the point in other words, what is the function should I write into my child theme’s functions.php file in order to remove the “Import Parent Theme Settings” button from main theme settings?

    Many thanks!

    Angelo

    #294542

    Hey Angelo!

    Try with this:

    function remove_parent_import() {
       echo '<style>#avia_parent_setting_import { display: none !important; } </style>';
    }
    
    add_action('admin_head', 'remove_parent_import');
    

    Regards,
    Josue

    #294770

    Hey Josue,
    Your tip did the trick, precisely!
    Superb support!
    Many thanks!
    Angelo

    #294787

    You are welcome Angelo, always glad to help :)

    Regards,
    Josue

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