• Bonjour,

    Dans la liste des souhaits les boutons aperçu rapide et ajouter au panier sont l’un en dessous l’autre j’aurai voulu les mettrent sur la meme ligne comment puis-je faire.

    Et j’aurai voulu modifier le titre du bouton aperçu rapide.

    Merci pour votre aide

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello there,
    we hope you’re doing well!

    Could you share the link to one of your products in which those buttons appear? Also tell us the text for which you want to change, please.

    We will be attentive to your response.

    Best regards.

    Thread Starter ashkael

    (@ashkael)

    Hello,

    The buttons appear in the member area ( /my-account/my-wishlist/ ). and they are one below the other but not side by side.

    The text is “Quick view”

    Thread Starter ashkael

    (@ashkael)

    I would like to add a class to the add to cart button because it does not take the style of my theme even when the box “Button with theme template”

    Hello there,
    thanks for your patience.

    We need to view your site to see what’s going on and apply the correct CSS. Could you share the link, please?

    We will be attentive to your response.

    Have a nice day!

    Thread Starter ashkael

    (@ashkael)

    Hello there,

    In order to add a class to the button, add the following code in the functions.php file of your active child theme:

    if ( ! function_exists( 'yith_wcwl_add_class_in_add_to_cart' ) ) {
        function yith_wcwl_add_class_in_add_to_cart() {
            $jquery = 'jQuery( function( $ ) {
                $( ".wishlist_table td.product-add-to-cart a" ).addClass( "your_class" );
                
            });';
            wp_add_inline_script( 'jquery-yith-wcwl', $jquery );
            wp_add_inline_script( 'jquery-yith-wcwl-user', $jquery );
        }
        add_action( 'wp_enqueue_scripts', 'yith_wcwl_add_class_in_add_to_cart', 999 );
    }

    Check it out and tell us if it works well for you, please.

    Best regards.

    Thread Starter ashkael

    (@ashkael)

    Thank you for your reply

    I add my class but the button does not change design

    Cordially

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Modifier les buttons’ is closed to new replies.