I’m building the public part of the booking platform and want it to be mobile first. After spending several hours understanding how the layout is rendered. I come to the conclusion that the column count in VM don’t have any effect below 14 columns. So for getting control over the layout I added a groupbox (wrapper) for all content in the the VM and styled it like this:
.wrapper {
grid-column-start: 1;
grid-column-end: 13;
@media only screen and (min-width: 500px) {
grid-column-start: 5;
grid-column-end: 9;
}
}
This will make the VM fill the screen on mobile and center the screen on desktop. Is this the way to do it? Or Am I missing something.
I want to be able to set a style class on VM-level to handle different layout and styling, in my case for the public part and the admin part of the platform. Or is it some other way to do this? yes, the vm is a class but this is more on category level.
Is using groupboxes the way to go to handle layout? In that case it would be nice if the vm-editor handles multiple levels in a better way when using nested VM.