WordPress.org

Forums

Adding classes to Woocommerce widget (2 posts)

  1. hannahhayes
    Member
    Posted 11 months 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:

    http://www.hannahhayes.co.uk/shop/

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

    http://www.hannahhayes.co.uk/product-category/curious-artefacts/

    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
    Member
    Posted 11 months 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?

Reply

You must log in to post.

About this Topic