Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1165495

    Dear Team,
    on my page below the products are shown / listed in the gallery. The presentation does not look as it should be.

    Question 1: How can increase the images sizes shown in this gallery? If I change from 3 to 2 columns, pics still are small.

    Question 2: How can I set more space between the rows? Currently the “Ausführung wählen/choose version” button of row 1/pic above appears closer to row2/pic below.

    Question 3: I do not remember where in the backbend I can change / modify the button content / text. I am sure you know :-)

    Thx a lot & best regards Tilman

    #1166052

    Hey Tilman,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .wc-block-grid.has-3-columns .wc-block-grid__product {
        margin-bottom: 50px;
    }
    

    Do you mean the “Add to cart” button? it cannot be changed in the backend. You need to use a filter or edit the code.

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1166058

    Hi Victoria,
    thanks , this works fine as a solution for 2)

    re3) Yes, it’s re the “add to card” for the first item, but also the “Ausführung wählen”. wahr kind of filter to you mean / where to apply resp. where can I edit the code?

    re 1) Any CSS for this question as well?

    Thx a lot and have a nice (I hope not only working :-) Sunday

    Tilman

    #1167082

    Hi,

    Thank you for the update.

    You can use the following filter in the functions.php file to change the default text of the add to cart button.

    
    // for single product page
    add_filter( 'woocommerce_product_single_add_to_cart_text', 'woocommerce_custom_single_add_to_cart_text' ); 
    function woocommerce_custom_single_add_to_cart_text() {
        return __( 'Add This', 'woocommerce' ); 
    }
    
    // for archive page
    add_filter( 'woocommerce_product_add_to_cart_text', 'woocommerce_custom_product_add_to_cart_text' );  
    function woocommerce_custom_product_add_to_cart_text() {
        return __( 'Add That', 'woocommerce' );
    }

    Best regards,
    Ismael

    #1167456

    Hi Ismael,
    thx a lot – I need a little help… If I enter my new phrase instead of “add this” / “add that” nothing happens.

    Or do I have to do it in a different way?

    thx again, Tilman

    #1168239

    Hi oestersund,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

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