diff --git a/Makefile b/Makefile index 5e8c7ea..6fbe72d 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,7 @@ +docker_deploy: + # Need to fix MaxSessions in remote ssh daemon https://github.com/docker/compose/issues/6463 + # Disable nftables on remote host + DOCKER_HOST="ssh://playground.pi" docker-compose -f wordpress.yml up + docker_up: docker-compose -f wordpress.yml up diff --git a/kit/css/header.css b/kit/css/header.css index 54a93e0..a628872 100644 --- a/kit/css/header.css +++ b/kit/css/header.css @@ -186,6 +186,9 @@ header:not(.sticky-header) .header-button-container { } @media (max-width: 960px) { + body.logged-in header { + top: 45px; + } header { position: fixed; top: 0; diff --git a/kit/css/menu.css b/kit/css/menu.css index b92c164..f7b2bbd 100644 --- a/kit/css/menu.css +++ b/kit/css/menu.css @@ -273,7 +273,7 @@ nav > ul > li .nav-first-level-opener::after { width: 0.88889rem; height: 0.88889rem; font-size: 1.44444rem; - background-image: url(img/arrow-right-grey.svg); + background-image: url(../img/arrow-right-grey.svg); background-repeat: no-repeat; background-position: center; background-size: contain; diff --git a/kit/functions.php b/kit/functions.php index 17bbb79..ecc784e 100644 --- a/kit/functions.php +++ b/kit/functions.php @@ -14,26 +14,10 @@ function kit_setup() { add_action( 'after_setup_theme', 'kit_setup' ); -//
- -// - class kit_custom_main_menu extends Walker_Nav_Menu { function start_lvl( &$output, $depth = 0, $args = array() ) { + // depth dependent classes $indent = ( $depth > 0 ? str_repeat( "\t", $depth ) : '' ); // code indent $display_depth = ( $depth + 1); // because it counts the first submenu as 0 @@ -45,9 +29,15 @@ class kit_custom_main_menu extends Walker_Nav_Menu { // build html if ($display_depth == 1) { - $output .= "\n" . $indent . '' . "\n"; } else { $output .= "\n" . $indent . '' . "\n"; } @@ -76,25 +71,36 @@ class kit_custom_main_menu extends Walker_Nav_Menu { $description = $item->description; $permalink = $item->url; - $output .= "