Hi,
I would like to add a 2px border to language switcher but cannot understand how to do it.
Print screen to understand: http://prntscr.com/8k9xgu
Thank you, Afonso
Hi,
Under maintenance mode.
User/pass on private content.
Thanks
Hey!
I added following code to bottom of Style.css file of your child theme
.av-main-nav > li.menu-item-language > a > .avia-menu-text {
border: 2px solid white;
border-radius: 2px;
padding: 10px;
}
and then added following code to bottom of functions.php file of your child theme
function add_custom_attr(){
?>
<script>
jQuery(window).load(function(){
jQuery( ".av-main-nav > li.menu-item-language > a" ).wrapInner( "<span class='avia-menu-text'></span>" );
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_attr');
Please review your website now
Cheers!
Yigit
Hi Ygit!
Thank you – that’s it!
Best, Afonso