Jump to content


Photo

Font filling in on nav bar

css font

  • Please log in to reply
2 replies to this topic

#1 carter90

carter90

    Member

  • Members
  • PipPip
  • 11 posts

Posted 24 July 2013 - 04:47 AM

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;

}

Attached Files



#2 floridaflatlander

floridaflatlander

    Advanced Member

  • Members
  • PipPipPip
  • 656 posts
  • LocationFlorida

Posted 24 July 2013 - 07:27 AM

So what wrong with picture on the left, what have you changed to make it like the pic on the right?



#3 Psycho

Psycho

    Advanced Member

  • Gurus
  • 10,746 posts
  • LocationCanada

Posted 24 July 2013 - 09:33 AM

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.co...2mG1sYNQsvpM8-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.


The quality of the responses received is directly proportional to the quality of the question asked.

I do not always test the code I provide, so there may be some syntax errors. In 99% of all cases I found the solution to your problem here: http://www.php.net




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com