Okay
  Public Ticket #1734573
questions
Closed

Comments

  • EticaTerra started the conversation

    Hi there. I have several questions which are not answered in the documentation.

    1. I have an anchor link, but when pressed, it scrolls directly to it. How can I have the page scroll smoothly. 
    2. How can I change the "add to cart icon"? I have a picnic basket icon and I want a plus sign / cart with plus sign. Same goes to the header cart icon. -> https://eticaterra.com/product-category/almacen/
    3. How can I modify the content displayed for every product in the shop? ie: I want it to be similar to the pic attached. (ticket_question_3)
    4. Product images are full res by default and can´t change it. I want to have a fixed proportion with a max resolution.
    5. In the blog page, I want entries to arrange into two/three columns. (As in ticket_question_5.png

    Thanks in advanced.

  •  608
    WordPress replied

    Hello,

    1: It needs to custom code.

    $('.main-navigation ul.mega-menu > li > a[href*=#]:not([href=#])').click(function(){     $('.main-navigation ul.mega-menu > li > a[href*=#]:not([href=#])').removeClass('active');     $(this).addClass('active');     if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')         || location.hostname == this.hostname){         var target = $(this.hash),         target = target.length ? target : $('[name=' + this.hash.slice(1) +']');         if (target.length){             $('html,body').animate({               scrollTop: target.offset().top - 110             }, 500);             return false;         }     } });

    Change class: .main-navigation ul.mega-menu > li > a[href*=#]:not([href=#])


    2: You can upload and import your font icon then edit css

    3: If you want to do so. We need custom code and you will have to pay a fee.

    4: Can you provide an admin account info so I can check for your problem?

    5: My default theme has a layout and no grid layout. If you want 2 or 3 columns we have custom code.

    Regards!

    Alex Vũ


  • EticaTerra replied

    Hi Alex, thanks for the fast reply.

    - As for points 3 and 5, which require custom code, I'm able to code it myself replacing in the child theme. Could you point me to which files should I look into?

    - Here's the admin for the images problem.

    usr: arrowpresssupport

    pass: DtezHZ5A2Qd7SGSY


    thanks in advance

    gonza

  •  608
    WordPress replied

    Hello,

    image product: You can add function in child theme and resize image

    add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) {
    return array(
        'width' => 85,
        'height' => 106,
        'crop' => 1,
        );
    } );
    3: You can copy file content-product.php in foodfarm\woocommerce to child theme and edit code

    5: You can style css into 2 or 3 columns.


    Best Regards!

    Alex Vũ