[Resolved] Merch: Homepage mob-carousel

Home Forums Support [Resolved] Merch: Homepage mob-carousel

Home Forums Support Merch: Homepage mob-carousel

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #966791
    Sebastian

    I guess this question is for David

    I really like the Merch design, but one problem is driving me nuts. I have a clean installation, latest WP version and GP version. But there is a gap on the woocommerce carousel compared to the library version on generatepress.com. Although the Gutenberg preview looks good, but not the live version.

    Any ideas where the differences come from? Is this a Gutenberg issue?

    Merch

    #967121
    Leo
    Staff
    Customer Support

    Hi there,

    Give this CSS a shot:

    .wc-block-grid .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-image {
        text-align: left;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    WooCommerce blocks recently released an update which broke some of the layouts.

    #967154
    Sebastian

    Hi Leo

    It’s left, but not what I hoped for. Also mobile looks different.

    Should be
    Goal

    is now
    now

    Any ideas how David realized the styling below the product images? Did I miss anything in the setup?

    #967503
    Tom
    Lead Developer
    Lead Developer

    It looks like they updated the Woo Blocks plugin and changed all of the HTML structure.

    For now, try this:

    .wc-block-grid .wc-block-grid__product {
        box-sizing: border-box;
    }
    
    .wc-block-grid .wc-block-grid__products .wc-block-grid__product {
        text-align: left;
    }
    
    .wc-block-grid__product-title {
        color: black;
    }

    We’ll need to release a GPP update so our Customizer options apply to their new block structure.

    #968289
    Sebastian

    Thank you both. That helped for desktop view.
    I will wait for the update. Have a great weekend.

    #968515
    Tom
    Lead Developer
    Lead Developer

    Thanks! You too ๐Ÿ™‚

    #970201
    Sebastian

    For responsive mobile view this here works for me:

    @media (max-width: 724px) {
        .wc-block-grid__product {
            flex-basis: 100% !important;
            max-width: none !important;
        }
    }

    For me it’s solved now.

    #970563
    Tom
    Lead Developer
    Lead Developer

    Awesome, thanks for sharing ๐Ÿ™‚

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