rename social-menu to utility-menu
This commit is contained in:
parent
4a375a595d
commit
8c7448f358
@ -13,19 +13,19 @@
|
||||
.logo-banner { order: 1; }
|
||||
.search-form { order: 2; }
|
||||
.header-menu { order: 3; }
|
||||
.social-menu { order: 4; }
|
||||
.utility-menu { order: 4; }
|
||||
}
|
||||
|
||||
@media screen and (min-width: #{$screen-tablet}) {
|
||||
.global-head {
|
||||
width: $container-tablet;
|
||||
|
||||
.social-menu { order: 1; }
|
||||
.utility-menu { order: 1; }
|
||||
.search-form { order: 2; }
|
||||
.logo-banner { order: 3; }
|
||||
.header-menu { order: 4; }
|
||||
|
||||
.social-menu,
|
||||
.utility-menu,
|
||||
.search-form {
|
||||
flex: 1 0 auto;
|
||||
width: auto;
|
||||
|
@ -1,4 +1,4 @@
|
||||
.social-menu {
|
||||
.utility-menu {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
@ -38,7 +38,7 @@
|
||||
}
|
||||
|
||||
@media screen and (max-width: #{$screen-tablet - 1}) {
|
||||
.social-menu {
|
||||
.utility-menu {
|
||||
header & { display: none; }
|
||||
}
|
||||
}
|
@ -48,7 +48,7 @@
|
||||
@import 'components/loop-row';
|
||||
@import 'components/global-head';
|
||||
@import 'components/search-form';
|
||||
@import 'components/social-menu';
|
||||
@import 'components/utility-menu';
|
||||
@import 'components/footer-sponsors';
|
||||
|
||||
// Utilities
|
||||
|
@ -1,4 +1,4 @@
|
||||
<footer class="container">
|
||||
<?php get_sidebar('footer-sponsors'); ?>
|
||||
<?php ildi_nav('social-menu'); ?>
|
||||
<?php ildi_nav('utility-menu'); ?>
|
||||
</footer>
|
||||
|
@ -56,8 +56,8 @@ function ildi_styles() {
|
||||
function register_ildi_menus() {
|
||||
register_nav_menus(array(
|
||||
'header-menu' => __('Header Menu', 'ildi'),
|
||||
'social-menu' => __('Social Links', 'ildi'),
|
||||
'footer-menu' => __('Footer Menu', 'ildi')
|
||||
'utility-menu' => __('Utility Links', 'ildi'),
|
||||
// 'footer-menu' => __('Footer Menu', 'ildi')
|
||||
));
|
||||
}
|
||||
|
||||
|
@ -7,5 +7,5 @@
|
||||
|
||||
<?php get_search_form() ?>
|
||||
|
||||
<?php ildi_nav('social-menu'); ?>
|
||||
<?php ildi_nav('utility-menu'); ?>
|
||||
</header>
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user