From f343980a11536c67cd4d850e96ccb8d6fa84d847 Mon Sep 17 00:00:00 2001 From: Deltacms Date: Tue, 17 Oct 2023 09:25:47 +0200 Subject: [PATCH] =?UTF-8?q?couleurs=20par=20d=C3=A9faut=20si=20theme=20getData(['theme', 'menu', 'burgerBackgroundColor'])) || $this->getData(['theme', 'menu', 'burgerBackgroundColor']) === '') $this->setData(['theme', 'menu', 'burgerBackgroundColor', $this->getData(['theme', 'menu', 'backgroundColor']) ]); + if(is_null($this->getData(['theme', 'menu', 'burgerBackgroundColorSub'])) || $this->getData(['theme', 'menu', 'burgerBackgroundColorSub']) === '') $this->setData(['theme', 'menu', 'burgerBackgroundColorSub', $this->getData(['theme', 'menu', 'backgroundColorSub']) ]); $css .= '@media (max-width: 799px) {'; $colors = helper::colorVariants($this->getData(['theme', 'menu', 'burgerBackgroundColor'])); $css .= 'nav #toggle { background-color:'.$this->getData(['theme', 'menu', 'burgerBannerColor']).';}';