diff --git a/wp-content/themes/cosmopet/global-functions/multisite-functions.php b/wp-content/themes/cosmopet/global-functions/multisite-functions.php index 563d7ce..639cc30 100644 --- a/wp-content/themes/cosmopet/global-functions/multisite-functions.php +++ b/wp-content/themes/cosmopet/global-functions/multisite-functions.php @@ -29,6 +29,7 @@ add_filter('timber/twig', function (\Twig\Environment $twig) { $site_env = new SiteEnvironment(); $twig->addGlobal('site_region', $site_env->site_region); $twig->addGlobal('site_mode', $site_env->site_mode); + $twig->addGlobal('header_scripts', get_field('header_scripts', 'option')); // со страницы "Общих настроек контента ACF" return $twig; }); /* End | Работа с проверкой мультисайтовости и стендов */ diff --git a/wp-content/themes/cosmopet/modules/popup/assets/css/gp-style-desktop.css b/wp-content/themes/cosmopet/modules/popup/assets/css/gp-style-desktop.css index e820cb1..3b39de9 100644 --- a/wp-content/themes/cosmopet/modules/popup/assets/css/gp-style-desktop.css +++ b/wp-content/themes/cosmopet/modules/popup/assets/css/gp-style-desktop.css @@ -19,6 +19,10 @@ transition: opacity 0.3s ease-in-out, filter 0.3s ease-in-out; } +.modal__basket { + width: 400px!important; +} + .modal__item.active { opacity: 1; filter: blur(0); diff --git a/wp-content/themes/cosmopet/templates/header.twig b/wp-content/themes/cosmopet/templates/header.twig index f15ac32..10654e4 100644 --- a/wp-content/themes/cosmopet/templates/header.twig +++ b/wp-content/themes/cosmopet/templates/header.twig @@ -220,6 +220,7 @@ + {% if site_region == 'ae' %}