Tweak in v3.21.0 “Optimized Spacer widget..” broke many many webs of mine
-
It’s about this so-called tweak in Elementor Version 3.21.0:
“Tweak: Optimized Spacer widget to eliminate unnecessary markup when no space is defined or set to 0”This has destroyed all of my pages from the last few years and removed the space for example after headlines, see here on struwe-umzuege.de
https://imgur.com/oJ8S19G
As a good layout designer you know that you need different spacing. Since these can change during development or have to be defined completely differently for a different website, it is easiest to control them globally from the CSS. What I’ve always done over the years is simply by giving the spacers CSS classes:
/** SPACER XXL **/
.spacer-xxl .elementor-spacer-inner { height: 100px !important; }
/** SPACER XL **/
.spacer-xl .elementor-spacer-inner { height: 70px !important; }
/** SPACER L **/
.spacer-l .elementor-spacer-inner { height: 50px !important; }
/** SPACER M **/
.spacer-m .elementor-spacer-inner { height: 30px !important; }
/** SPACER S **/
.spacer-s .elementor-spacer-inner { height: 20px !important; }
/** SPACER XS **/
.spacer-xs .elementor-spacer-inner { height: 15px !important; }
/** SPACER XS **/
.spacer-xxs .elementor-spacer-inner { height: 10px !important; }
Therefore, the spacer in the front end did not have to be given any size and never was. You just destroyed this with your tweak by eliminating unnecessary markup when no space is defined or set to 0.I could now set each size from undefined/zero to e.g. 1 for each page, then my CSS code would work again. Please understand that we are talking about dozens of spacers on hundreds of subpages of many websites. Please please revert this tweak as soon as you can!
You could improve your tweak by first checking whether it is given a different size via CSS or that if the spacer has been assigned a class, it is not removed from the markup. You could also make this tweak optional via the Elementor settings. Just please do something, you once promised that your updates would never destroy the layout of old websites, but that is clearly the case here! Apart from that, the tweak doesn’t make any sense at all, because people would be much less likely to accidentally use a zero spacer than to do so for a good reason, as in my example.
Please refrain from recommending that I reset my Elementor version. This is not a viable solution in terms of security vulnerabilities and new features.
Please react!The page I need help with: [log in to see the link]
- The topic ‘Tweak in v3.21.0 “Optimized Spacer widget..” broke many many webs of mine’ is closed to new replies.