Hi,
I am using full width product archive.
For full hd res I have 5 product columns.
I can break it for tablet and mobile. (2cols and 1col)
I just wonder if can I break with res. ~1000-1500px to 4 columns?
Like add another breaking point.
Well I can do !important overwrite CSS I just wonder for improvement.
Hi,
Thank you for contacting us and I'd be happy to assist.
Yes, to include additional screen size breakpoints, you can use custom CSS Media Queries:
hidden link
Note: If you could share the link to your website's product archive page, I'll be able to share more specific CSS code's example too.
regards,
Waqar
I added two extra sizes: (I have really long product names, anyway)
@media (min-width: 782px) and (max-width: 1300px) {
.wp-block-toolset-views-wpa-editor .js-wpv-loop-wrapper > .tb-grid {
grid-template-columns: minmax(0, 0.33fr) minmax(0, 0.33fr) minmax(0, 0.33fr);
}
}
@media (min-width: 1201px) and (max-width: 1500px) {
.wp-block-toolset-views-wpa-editor .js-wpv-loop-wrapper > .tb-grid {
grid-template-columns: minmax(0, 0.25fr) minmax(0, 0.25fr) minmax(0, 0.25fr) minmax(0, 0.25fr);
}
}
I was about to say about improvement to plugin to add extra breakpoints:
hidden link
Anyway thx