I need to change the width of the grid col attribute ‘xl’(size-xl) to 1600px. So I try to change that attribute with the following code. Inside the theme/variables.scss I wrote like this
: root{
--ion-grid-width-xl: 1600px !important;
}
It didn’t change anything. Please suggest me how to modify the default break point value.
1 Like
It’s not currently possible to change the breakpoints as CSS variables in media queries are not currently supported. You can read more on this in our known limitations section in the theming documentation: https://ionicframework.com/docs/theming/advanced#variables-in-media-queries
I did notice that the documentation for grid is showing that it is possible, so I’ve created an issue on our ionic-docs
repository to get this fixed:
1 Like
@brandyshea Thank you very much for your reply.
Any new? I have the same issue
1 Like