Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1090104

    In this page:

    under the pic It shows the word: “Mostra dettagli”, I don’t need it.
    I need the word: “Chiedi un preventivo”

    It is possible to change it?

    Thanks.

    #1090238

    Hey robertoKM,
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
      ?>
      <script>
    jQuery(window).load(function(){
      jQuery( '.avia_cart_buttons' ).each(function() {
      jQuery( this ).find( 'a.button.show_details_button' ).replaceWith('Chiedi un preventivo');
      });
      });
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');
    

    Best regards,
    Mike

    #1090333

    Thanks but don’t work :-(

    #1090351

    Hi,
    Please check that the code you copied above doesn’t have any “curly quotes” if that doesn’t solve, then Please include an admin login in the Private Content area so we can be of more assistance.

    Best regards,
    Mike

    #1090478

    I give you the Private Content to check, thanks

    #1090612

    Hi,
    Thanks for the login, in your theme settings you had checked the box “Load jQuery in the footer” but this makes most of your jQuery scripts not work. I corrected for you. Please clear your browser cache and check.

    Best regards,
    Mike

    #1090686

    Thank you very mutch Mike. it works great.
    If possible can you show me where it was the setting “Load jQuery in the footer” ?
    Thanks

    • This reply was modified 5 years ago by robertoKM.
    #1090694

    Hi,
    It is at the bottom of the performance options page:
    2019-04-14-131822

    Best regards,
    Mike

    #1090772

    Thanks a lot.

    #1090780

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘change the word "Mostra dettagli" in the product sheet’ is closed to new replies.