Site logo

Archived topic

Woocomerce products block not responsive

5 replies · Started by Antonio Marcos on July 19, 2019

Viewing posts 1–6 of 6

Hello

I have installed the Merch template from the library. Fresh installation. The products are not displayed in a column as in the demo, neither on the main page nor on the store page.

Would there be any solution for this?

Thank you!

Hi Leo

I have sent you with the original post the url and user / pass.

It seems that the shop page works well: through the customize panel I have chosen a product in the mobile version and everything ok.

It is on the home page or anywhere that you enter a block when it does not work.

In another post I saw the solution for the "product that passed to the next row" and solved it with this code:

.wc-block-grid.has-3-columns .wc-block-grid__product {
    flex: 1 0 calc(33% - 16px);
}
	.wc-block-grid.has-4-columns .wc-block-grid__product {
    flex: 1 0 calc(25% - 16px);
}

Thanks.

I checked the home page and looks like it's all working now?

If not can you guide me to a specific section?

It looks like the Woo Blocks plugin is missing CSS for those items on mobile.

Try this:

@media (max-width: 768px) {
    .wc-block-grid.has-4-columns .wc-block-grid__product {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
This archived topic is closed to new replies.