Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #886175

    Dear Kriesi team,

    i use enfold for a long time for many of my customers and first off all have to make a compliment, great theme.
    However one of my customers uses google translate and i want to prevent the secondary menu (small bar above the menu) from translating with googles solutopn to wrap it with the tag “notranslate” (<span class=”notranslate”> content that is not translated</span>)
    I found a solution and added the class “notranslate” to helper-main-menu.php in the folder enfold/includes at line 21

    <div id='header_meta' class='container_wrap container_wrap_meta notranslate> <?php echo avia_header_class_string(array('header_social', 'header_secondary_menu', 'header_phone_active'), 'av_'); ?>'>

    It works perfectly, but is there a update-friendly way to do this?

    Best Regards,

    Bastian Gasteiger


    Hey basti2409,

    If you add the modified file to your child theme, it will be update proof.

    Best regards,
    Jordan Shannon

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.