Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After changing which libraries are included in my subtheme and clicking "Save and Update Styles", several occurrences of the following error were written to primary-layout.scss...
max-width: %;
It should probably be 100% by default.
Comment | File | Size | Author |
---|---|---|---|
#2 | Screen Shot 2016-04-30 at 1.36.35 AM.png | 175.93 KB | kushvarma |
Comments
Comment #2
kushvarma CreditAttribution: kushvarma as a volunteer commentedHi,
the value of max-width is depended on the breakpoints configuration you have set.
For example in when you create a sub-theme of omega using omega_starter kit, not all breakpoints are used, like @media all and (max-width: 479px) or @media all and (min-width: 480px) and (max-width: 767px) etc.
So when phpsass compiles the sass, it skips those breakpoints which are not used in the configuration.
If you want to use the all the standard breakpoints of omega theme.
Go to Appearance -> Appearance Settings -> Your Theme -> Layout Builder
In breakpoints group, select omega.standard and select Save and update.
You will find the sass is updated and all the values in primary-layout.scss will automatically have some value.
See the Screenshot.
Hope this helps.
Thanks
Comment #3
kushvarma CreditAttribution: kushvarma as a volunteer commentedComment #4
ExTexan CreditAttribution: ExTexan commented@kushvarma, Thanks for that detailed reply. It does help.
Comment #5
kushvarma CreditAttribution: kushvarma as a volunteer commented