rename social-menu to utility-menu

This commit is contained in:
Mark Moser 2018-10-07 14:41:41 -05:00
parent 4a375a595d
commit 8c7448f358
8 changed files with 12 additions and 12 deletions

View File

@ -13,19 +13,19 @@
.logo-banner { order: 1; } .logo-banner { order: 1; }
.search-form { order: 2; } .search-form { order: 2; }
.header-menu { order: 3; } .header-menu { order: 3; }
.social-menu { order: 4; } .utility-menu { order: 4; }
} }
@media screen and (min-width: #{$screen-tablet}) { @media screen and (min-width: #{$screen-tablet}) {
.global-head { .global-head {
width: $container-tablet; width: $container-tablet;
.social-menu { order: 1; } .utility-menu { order: 1; }
.search-form { order: 2; } .search-form { order: 2; }
.logo-banner { order: 3; } .logo-banner { order: 3; }
.header-menu { order: 4; } .header-menu { order: 4; }
.social-menu, .utility-menu,
.search-form { .search-form {
flex: 1 0 auto; flex: 1 0 auto;
width: auto; width: auto;

View File

@ -1,4 +1,4 @@
.social-menu { .utility-menu {
display: flex; display: flex;
align-content: center; align-content: center;
align-items: center; align-items: center;
@ -38,7 +38,7 @@
} }
@media screen and (max-width: #{$screen-tablet - 1}) { @media screen and (max-width: #{$screen-tablet - 1}) {
.social-menu { .utility-menu {
header & { display: none; } header & { display: none; }
} }
} }

View File

@ -48,7 +48,7 @@
@import 'components/loop-row'; @import 'components/loop-row';
@import 'components/global-head'; @import 'components/global-head';
@import 'components/search-form'; @import 'components/search-form';
@import 'components/social-menu'; @import 'components/utility-menu';
@import 'components/footer-sponsors'; @import 'components/footer-sponsors';
// Utilities // Utilities

View File

@ -1,4 +1,4 @@
<footer class="container"> <footer class="container">
<?php get_sidebar('footer-sponsors'); ?> <?php get_sidebar('footer-sponsors'); ?>
<?php ildi_nav('social-menu'); ?> <?php ildi_nav('utility-menu'); ?>
</footer> </footer>

View File

@ -56,8 +56,8 @@ function ildi_styles() {
function register_ildi_menus() { function register_ildi_menus() {
register_nav_menus(array( register_nav_menus(array(
'header-menu' => __('Header Menu', 'ildi'), 'header-menu' => __('Header Menu', 'ildi'),
'social-menu' => __('Social Links', 'ildi'), 'utility-menu' => __('Utility Links', 'ildi'),
'footer-menu' => __('Footer Menu', 'ildi') // 'footer-menu' => __('Footer Menu', 'ildi')
)); ));
} }

View File

@ -7,5 +7,5 @@
<?php get_search_form() ?> <?php get_search_form() ?>
<?php ildi_nav('social-menu'); ?> <?php ildi_nav('utility-menu'); ?>
</header> </header>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long