Support » Plugin: WooCommerce » Remove Line Breaks on the Product Archive Page between custom fields

  • Hello,

    I am using several custom product fields (images), that I display under each product on my Product Archive Page (Shop page).
    For this I’m using a hook ‘woocommerce_after_shop_loop_item’.

    Currently, the custom fields are displayed like that:

    product_1
    [image1]
    [image2]
    [image3]

    product_2
    [image1]
    [image2]

    I need them to display as follows:

    product_1
    [image1] [image2] [image3]

    product_2
    [image1] [image2]

    Please kindly point me to the right direction. Is this type of modification can be done via CSS? Or I can manage to find a way to modify the layout via functions.php?
    Many thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support RK

    (@riaanknoetze)

    Hi there,

    It sounds like this might be possible using custom CSS although one would need to check the markup to be sure. Do you have a URL we can look at?

    Thank you for your prompt response!

    Unfortunately, it’s impossible for me to provide URL, because currently the website is hosted locally.

    In the assets/css/ directory I found several CSS files. Is it possible to override woocommerce.css with custom.css placed in the child theme?
    What would be the best way to do so in my case?

    Many thanks!

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