Page 1 of 1

Replacing Media Breakpoints with sass variables

Posted: 22 Dec 2017, 23:52
by aflorin
Looks like the @media breakpoints are hard coded in the .scss files.

It would be great if those hard coded values were replaced with variables so we could override them.

My current layout has very little in the top bar so I don't need it to collapse at 1025px but I can only change that by editing _main.scss directly.

Thanks,

Alex

Re: Replacing Media Breakpoints with sass variables

Posted: 03 Jan 2018, 16:35
by merve7
Can you give me an example which hard code or which .scss file?

Re: Replacing Media Breakpoints with sass variables

Posted: 17 Jan 2018, 21:26
by aflorin
The one I was looking to customize was this one:

@media (min-width: 1025px) {
.layout-wrapper {

It is located in _main.scss

Re: Replacing Media Breakpoints with sass variables

Posted: 26 Jan 2018, 10:34
by merve7
Thanks, we will fix.