Here having a bad time adjusting the table Downloads from Woo Thank you template on vertical mobile.
This is a 4 columns table, with download buttons, expiry dates, long “Downloads Remainging” title and product title, which is nearly impossible to make look good on mobile under 400px.
Should be this better a flex container?
That is unusable on mobile. It breaks the whole layout. It’s a bug.
Move this topic to BUGS and do this for the workaround:
Put this in the checkout-thank-you template in the Custom CSS for the Mobile Landscape (<=768px) breakpoint:
%root% .woocommerce-MyAccount-orders thead, %root% .woocommerce-table--order-downloads thead {
display: none;
}
%root% .woocommerce-MyAccount-orders tbody td, %root% .woocommerce-table--order-downloads tbody td {
display: block;
text-align: right;
}
%root% .woocommerce-MyAccount-orders tbody td:before, %root% .woocommerce-table--order-downloads tbody td:before {
content: attr(data-title);
display: table;
float: left;
font-weight: 700;
}
Put this at the base breakpoint:
%root% .woocommerce-table--order-downloads.shop_table td, %root% .woocommerce-table--order-downloads.shop_table th {
padding: 15px 0;
}
1 Like
Thanks, the CSS fix works very well.
1 Like
Matej
July 16, 2024, 7:59pm
5
Hi guys,
We’ve added this improvement in Bricks 1.10 beta, now available as a manual download in your account (see changelog ).
Please let us know if you are still experiencing issues.
As with any beta release, please do not use it on a production/live website. It is only meant for testing in a local or staging environment.
Best regards,
M