diff --git a/videomaker/assets/theme.css b/videomaker/assets/theme.css index d9b5c63c0b..e056059c91 100644 --- a/videomaker/assets/theme.css +++ b/videomaker/assets/theme.css @@ -103,6 +103,11 @@ div.post-meta a { align-items: flex-end; } +.wp-block-navigation.is-style-blockbase-navigation-improved-responsive.is-responsive .is-menu-open.wp-block-navigation__responsive-container { + font-size: var(--wp--preset--font-size--large); + font-weight: 200; +} + .wp-block-navigation.is-style-blockbase-navigation-improved-responsive.is-responsive .is-menu-open.wp-block-navigation__responsive-container .wp-block-navigation__container { row-gap: 1rem; } @@ -133,6 +138,10 @@ div.post-meta a { padding-bottom: calc( var(--wp--custom--gap--vertical) * 2); } +.wp-block-navigation.is-style-blockbase-navigation-improved-responsive.is-responsive .is-menu-open.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container { + font-size: var(--wp--preset--font-size--medium); +} + footer > .wp-block-group { align-items: center; justify-content: space-between; diff --git a/videomaker/sass/_navigation.scss b/videomaker/sass/_navigation.scss index 9c186738cc..f9af413469 100644 --- a/videomaker/sass/_navigation.scss +++ b/videomaker/sass/_navigation.scss @@ -5,6 +5,9 @@ .wp-block-navigation.is-style-blockbase-navigation-improved-responsive { &.is-responsive .is-menu-open.wp-block-navigation__responsive-container { + font-size: var(--wp--preset--font-size--large); + font-weight: 200; + .wp-block-navigation__container { row-gap: 1rem; } @@ -32,5 +35,11 @@ ul.wp-block-social-links { padding-bottom: calc( var(--wp--custom--gap--vertical) * 2 ); } + + .wp-block-navigation__responsive-container-content .has-child { // Needed for specificity to beat the navigation block CSS + .wp-block-navigation__submenu-container { + font-size: var(--wp--preset--font-size--medium); + } + } } }