Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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

    #886294

    Hey basti2409,

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

    Best regards,
    Jordan Shannon

    #894719

    Hi Jordan,

    Happy new year, i’m sorry to bring this old thread up, but is there any possibility to use the notranslate class for specific main menu items?

    Best regards,

    Bastían Gasteiger

    //edit: solved, i added the class in the design–>menu in the backend

    • This reply was modified 4 months, 2 weeks ago by  basti2409.
    #894863

    Hi Bastían Gasteiger,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

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

You must be logged in to reply to this topic.