Some suggestions
-
Right now every area block has the following CSS variables defined, even if they have default values.
--_ga-m-desktop: 0 0 0 0; --_ga-p-desktop: 0 0 0 0; --_ga-bg-desktop: transparent none; --_ga-zi-desktop: auto; --_ga-d-desktop: flex; --_ga-mw-desktop: calc(100% - 0 - 0); --_ga-m-tablet: 0 0 0 0; --_ga-p-tablet: 0 0 0 0; --_ga-bg-tablet: transparent none; --_ga-zi-tablet: auto; --_ga-d-tablet: flex; --_ga-mw-tablet: calc(100% - 0 - 0); --_ga-m-mobile: 0 0 0 0; --_ga-p-mobile: 0 0 0 0; --_ga-bg-mobile: transparent none; --_ga-zi-mobile: auto; --_ga-d-mobile: flex; --_ga-mw-mobile: calc(100% - 0 - 0);
I suggest omitting them if they’re default and instead setting default values in the frontend CSS file.
–
Also I’m trying to create 6 areas that are displayed 3 per row on desktop and tablet and 2 per row on phone. Hovewer plugin default presets are limited by 4 columns max so I use designer instead. But designer specifies areas that are fixed in certain position for all screen sizes. On top of that it’s hardcoded that < 768px grid turns into flexbox with 1 area per row.
Would it be possible to either add a way to specify separate layout for tablet and mobile as well? Or maybe add option to specify ‘grid-template-columns: repeat(auto-fill, minmax(MIN_AREA_WIDTH, 1fr));’?
- The topic ‘Some suggestions’ is closed to new replies.