Adding classes to Woocommerce widget (2 posts)

  1. hannahhayes
    Posted 2 years ago #

    Hi there,

    I'm trying to add the classes 'first' and 'last' to the first and last thumbnails in each row on this page which is using the WooCommerce products widget:


    The effect I'm trying to achieve is similar to what is seen here:


    which uses the ordinary WooCommerce products loop.

    I'm afraid my knowledge of php is terrible/non-existent so any point in the right direction would be much appreciated.

  2. jasperg
    Posted 2 years ago #

    It looks to me as if first and last are already added on both pages you linked to.
    Did you work it out. Or do you still need help?

Topic Closed

This topic has been closed to new replies.

About this Topic