-
EricBlair
Hello. I am attempting to simply style some elements. However, every time I use the columns block I run into this bs:
@media (min-width: 782px) {
.wp-block-columns {
flex-wrap: nowrap !important;
}
}Which is set as default from GeneratePress. Why would you do this? Now it is a fight trying to undo this every time I use a columns block.
How can I undo what you’ve done?
-
David
Hi there,
That CSS comes from the WordPress block library styles, it has nothing to do with GeneratePress and we have no control over that.
We would recommend using the GenerateBlocks Grid Block or its Container and Flexbox options if you want greater control over the grid.
Or if you must use columns and you want to overcome that CSS then you can add this CSS to it:
@media (min-width: 782px) { body .wp-block-columns { flex-wrap: wrap !important; } }
-
EricBlair
Oh Ok. My mistake. Late nights and little progress makes a poor combo when asking for help. Thank you for clarifying.
-
David
No problen. Glad to be of help
- You must be logged in to reply to this topic.