6820d2b4 by Jeff Balicki

call out menu

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 2a34d6bf
......@@ -15017,6 +15017,7 @@ a[target=_blank]::after {
}
.join-callout .wp-block-group__inner-container .wp-block-column {
display: flex;
flex-direction: column;
}
.join-callout .wp-block-group__inner-container .wp-block-image {
margin-bottom: 0px;
......@@ -15166,7 +15167,9 @@ a[target=_blank]::after {
#wrapper-footer-full .menu .donate {
display: none;
}
#wrapper-footer-full #menu-social {
#menu-social,
#menu-social-1 {
flex-direction: row;
padding: 0;
list-style: none;
......@@ -15174,7 +15177,8 @@ a[target=_blank]::after {
margin: 0;
margin-left: 33px;
}
#wrapper-footer-full #menu-social li {
#menu-social li,
#menu-social-1 li {
margin: 0px;
margin-right: 8px;
height: 32px;
......@@ -15183,10 +15187,12 @@ a[target=_blank]::after {
border-radius: 50%;
position: relative;
}
#wrapper-footer-full #menu-social li a {
font-size: 0;
#menu-social li a,
#menu-social-1 li a {
font-size: 0 !important;
}
#wrapper-footer-full #menu-social li a::after {
#menu-social li a::after,
#menu-social-1 li a::after {
position: absolute;
top: 7px;
left: 9px;
......@@ -15196,16 +15202,38 @@ a[target=_blank]::after {
height: 18px;
display: block;
}
#wrapper-footer-full #menu-social .facebook a::after {
#menu-social .facebook a::after,
#menu-social-1 .facebook a::after {
left: 12px;
background-image: url("/wp-content/themes/understrap-child/images/Facebook.svg");
}
#wrapper-footer-full #menu-social .instagram a::after {
#menu-social .instagram a::after,
#menu-social-1 .instagram a::after {
background-image: url("/wp-content/themes/understrap-child/images/Instagram.svg");
}
#wrapper-footer-full #menu-social .x a::after {
#menu-social .x a::after,
#menu-social-1 .x a::after {
background-image: url("/wp-content/themes/understrap-child/images/X.svg");
}
#menu-social.page {
margin-left: 0px;
}
#menu-social.page li {
height: 48px;
width: 48px;
margin-right: 14px;
}
#menu-social.page a::after {
top: 11px;
left: 13px;
width: 22px;
height: 26px;
}
#menu-social.page .facebook a::after {
left: 16px;
}
.has-blue-color,
.has-blue-color:visited {
color: #0d6efd;
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -107,10 +107,18 @@ function understrap_child_customize_controls_js()
}
add_action('customize_controls_enqueue_scripts', 'understrap_child_customize_controls_js');
function upload_svg_files( $allowed ) {
if ( !current_user_can( 'manage_options' ) )
return $allowed;
$allowed['svg'] = 'image/svg+xml';
return $allowed;
function upload_svg_files($allowed)
{
if (!current_user_can('manage_options'))
return $allowed;
$allowed['svg'] = 'image/svg+xml';
return $allowed;
}
add_filter( 'upload_mimes', 'upload_svg_files');
\ No newline at end of file
add_filter('upload_mimes', 'upload_svg_files');
function print_menu_shortcode($atts, $content = null) {
extract(shortcode_atts(array( 'name' => null, 'class' => null ), $atts));
return wp_nav_menu( array( 'menu' => $name, 'menu_class' => $class, 'echo' => false ) );
}
add_shortcode('menu', 'print_menu_shortcode');
\ No newline at end of file
......
......@@ -43,6 +43,7 @@
.wp-block-column{
display: flex;
flex-direction: column;
}
.wp-block-image {
margin-bottom: 0px;
......
......@@ -51,8 +51,11 @@
display: none;
}
}
#menu-social{
}
#menu-social,
#menu-social-1{
flex-direction: row;
padding:0;
list-style: none;
......@@ -69,7 +72,7 @@
border-radius: 50%;
position: relative;
a {
font-size:0;
font-size:0 !important;
}
a::after{
position: absolute;
......@@ -87,6 +90,7 @@
.facebook {
a::after {
left: 12px;
background-image:url("/wp-content/themes/understrap-child/images/Facebook.svg");
......@@ -109,6 +113,22 @@
}
#menu-social.page{
margin-left: 0px;
li {
height:48px;
width:48px;
margin-right:14px;
}
a::after{
top: 11px;
left: 13px;
width: 22px;
height: 26px;
}
.facebook {
a::after {
left: 16px;
}
}
}
\ No newline at end of file
......