Present day CSS now has @container queries support for sizing and soon also model & condition, and that in essence usually means a native way for an if/else problem. Down below is a particularly simplified case in point. - Module functions without building any adjust in the prevailing PrestaShop file https://bookmarkpath.com/story19336440/the-best-side-of-prestashop-popup-youtube-video-colorbox-on-all-pages