Display options should not set other sizes other than it’s own.
-
Bootstrap has display classes in place in order to hide things in a responsive manner, an example shown here allows you to hide on small screens but show it on large screen.
<div class="d-none d-lg-block">hide on screens smaller than lg</div>
The plugin takes this functionality and it builds it into it’s “Display” tab on each block, however, I feel like the simplify of bootstrap gets lost on the way it’s implemented here, for example if I wanted to have the same functionality as above I would have to select all of the breakpoints up to lg and hide them, something that would end up with a code that looks like the following:
<div class="d-none d-sm-none d-md-none d-lg-block">hide on screens smaller than lg</div>
I know it’s a petty complain but I feel like a simple toggle for “Display on LG” would create cleaner code.
Overall I am loving developing themes with this plugin and I am very happy with it ??
- The topic ‘Display options should not set other sizes other than it’s own.’ is closed to new replies.