[Resolved] Woocommerce (shortcode) column layout

Home Forums Support Woocommerce (shortcode) column layout

  • This topic has 3 replies, 2 voices, and was last updated 12 months ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1019444
    Marinex

    Hi guys, my Woocommerce shortcode on my frontpage does not follow my 1 column (on mobile) setting in the customizer.

    Do I have to use CSS to get this working?

    #1019458
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS :

    @media only screen and (max-width: 768px) {
        .woocommerce ul.products[class*=columns-] li.product,
        .woocommerce-page ul.products[class*=columns-] li.product {
            width: 100%;
            float: none;
        }
    }
    #1019464
    Marinex

    Wow that works perfectly fine, thanks David.

    #1019484
    David
    Staff
    Customer Support

    Glad to be of help – we’re aware of the changes Woo has made and we’ll be looking at whether we can fix the shortcode not respecting our column controls.

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