On November 20, 2013 at 6:29 pm
Hi!
I’m trying to display some images (social media icons) at the right top of the menu, but i don’t get how to do it…
I have been looking around, and after creating those customs links (for example for Facebook and Twitter) on the menu, I have attached that code to the style.css
but
1- i don’t know where to exactly insert it
2- if the code is right
@media (min-width: 600px) {
#menu-item-1980 .nav-social-facebook {
float: right;
margin-right: 5px;
background: url(images/facebook.png) no-repeat right;
}
#menu-item-1981 .nav-social-twitter {
float: right;
margin-right: -12px;
background: url(images/twitter.png) no-repeat right;
}
.nav-social-facebook a {
opacity: 0;
}
.nav-social-twitter a {
opacity: 0;
}
}
where menu-item-1980 and menu-item-1981 are my links on the menu.
The problem is that the link is working (if you go cover it with the mouse), but the image is not displayed. Any idea of what could happen? Thanks