Hi,
I found this code on the forum to put a stoke on my menu text.
.avia-menu {
text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
It works great but it also adds the stoke to the submenu text which is not what I want. I want the submenu text to not have a shadow. How would i amend this?
be more specific on the selector:
#top #avia-menu > li > a > .avia-menu-text {
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
color: #FFF;
}
the > indicates a direct child of the element
Hi paspumpkins,
Please use the selector Guenni007 suggested, I checked it on your site and it worked well:
#top #avia-menu > li > a > .avia-menu-text {
text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
@Guenni007 thanks for helping out :)
Best regards,
Nikko