Hi,
I am trying to add on the new installation the flags in avia2-menu at the right with below css. but this is not working.
it´s on: http://zorbas.synology.me/zorbas.dk/ but you can take the working example from zorbas.synology.me/wordpress
#avia2-menu {
position: relative;
top: -3px;
}
#top .flag-dansk {
background: url(‘http://zorbas.synology.me/zorbas.dk/wp-content/uploads/2017/03/dansk-flag.png’) center center no-repeat !important;
height: 18px;
width: 50px;
text-indent: -9999em;
}
#top .flag-svensk {
background: url(‘http://zorbas.synology.me/zorbas.dk/wp-content/uploads/2017/03/svensk-flag.png’) center center no-repeat !important;
height: 18px;
width: 50px;
text-indent: -9999em;
}
#top .flag-dansk a,
#top .flag-svensk a {
display: block;
}
Hey lech07,
It looks like you need to add the class ‘flag-dansk’ & ‘flag-svensk’ to those menu items. At the top of your menu editing page click Screen Options and choose CSS Classes, then a CSS Class box will show in the menu item, add the two classes.
Best regards,
Mike
Hi Mike,
I dont have the css classes (optional) in my custom links. see below:
It worked. thanks! :)
Can you please help me with this: https://kriesi.at/support/topic/flaticon-2/