• Resolved paskoberisic

    (@paskoberisic)


    Hello, can someone help me regarding two columns on mobile version?

    I am currently using StoreCommeerce theme and I would need CSS for this.

    Thanks in advance

Viewing 3 replies - 16 through 18 (of 18 total)
  • The padding line goes inside the media query so it only applies to smaller screens. So replace the first snippet with:

    @media only screen and (max-width: 736px) {
      .woocommerce ul.products li.product {
        width: 49.0% !important;
        margin: 0.5% 4% 0.5% 0;
        padding: 0 4px !important; 
      }
      body.woocommerce ul.products.columns-3 li.product:nth-of-type(3n+1) {
        clear: none !important;
      }
      body.woocommerce ul.products.columns-3 li.product:nth-of_type(2n+1) {
        clear: both !important;
      }
    }
    Thread Starter paskoberisic

    (@paskoberisic)

    Great, thank you a lot. I will catch up with you as soon as I try it.

    Can I contact you in future regarding other WooCommerce things?

    Sorry that’s against forum guidelines. You’ll need to start a new thread.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Two columns mobile version’ is closed to new replies.