carter90 Posted July 24, 2013 Share Posted July 24, 2013 Hi, I am having trouble with a font that I have added to a wordpress site. For some reason whatever I try with font-weight an font-style etc. The font is filling in. I have attached a couple of screenshots so you know what I mean. The css I put in for the nav bar is below. Any ideas? #nav ul li, #nav ul li a, #nav .megamenu ul.sub-menu li.menu-item-custom-content p { font-family:Glowworm; font-weight:normal; font-style:normal; } Quote Link to comment https://forums.phpfreaks.com/topic/280454-font-filling-in-on-nav-bar/ Share on other sites More sharing options...
floridaflatlander Posted July 24, 2013 Share Posted July 24, 2013 So what wrong with picture on the left, what have you changed to make it like the pic on the right? Quote Link to comment https://forums.phpfreaks.com/topic/280454-font-filling-in-on-nav-bar/#findComment-1441926 Share on other sites More sharing options...
Psycho Posted July 24, 2013 Share Posted July 24, 2013 Yeah, it's not clear which one you think is correct or not. The one on the right looks correct based upon the images that Google brings up for that font. It looks terrible in pink, but those artifacts are meant to give the font characters a 3d appearance: http://t0.gstatic.com/images?q=tbn:ANd9GcTgq6BU9gmxlArNxmNqD8dFA8pBoBip8War-Qs2mG1sYNQsvpM8-g But, this is a non-standard font and probably doesn't have the available character sets to be displayed in italic or other modified states. So, when you try to apply those properties, the computer is trying to dynamically adjust the font based upon its best "guess" resulting in the unintended output. If that's the case, not much you can do unless you can find a similar font with italic characters in it. Quote Link to comment https://forums.phpfreaks.com/topic/280454-font-filling-in-on-nav-bar/#findComment-1441931 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.