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

    The following added code to the functions.php file added this option with the latest theme build it does nothing:

    add_action('admin_print_scripts', 'avia_gravity_forms_admin');
    function avia_gravity_forms_admin()
    {
    echo "<style type='text/css'>";
    echo "
    
    .avia_mega_active.menu-item-depth-2 .description-title, .avia_mega_active.menu-item-depth-3 .description-title{
    display: block;
    }";
    echo "</style>";
    }

    How can we enable this in 2.64?

    • This topic was modified 10 years, 7 months ago by AntonNovikov.
    #255437

    Hi AntonNovikov!

    I just tested it on my test server with Enfold 2.7 and it worked just fine for me. Please try to clear the browser cache and if it still doesn’t work try to insert it into your child theme functions.php file at the very bottom.

    Best regards,
    Peter

    #255967

    I have upgraded to 2.7 and tried adding it to the child theme functions.php and the theme functions – but still does not work. Any ideas?

    #256521

    Hey!

    Thank you for the update.

    It does work on our end. Please try to remove browser cache then reload the page a few times. If you have any cache plugin, please empty the cache. Add !important on the css value.

    add_action('admin_print_scripts', 'avia_gravity_forms_admin');
    function avia_gravity_forms_admin()
    {
    echo "<style type='text/css'>";
    echo "
    
    .avia_mega_active.menu-item-depth-2 .description-title, .avia_mega_active.menu-item-depth-3 .description-title{
    display: block !important;
    }";
    echo "</style>";
    }

    Cheers!
    Ismael

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