![]() | | ||||||||
| | #1 |
| Captain War Room Member |
Good day, Can someone please help me? How can I change the font of my header from the standard font to Lucida Calligraphy Here is the style.css code for the font now, how can I change it? Code: #header { margin: 0; padding: 0; height: 120px; width: 780px; border-style: solid; border-color: #dddddd; border-width: 1px; background-color: #F88158; background-image: url('images/header.jpg'); } .header-title { color: #FFFFFF; font-size: 13px; font-weight: nonr; padding: 60px 0 0 30px; text-align: left; } .header-title a{ color: #FFFFFF; text-decoration:none; border-bottom:none; } .header-title a:hover{ color:#FFFFFF; text-decoration:none; border-bottom:none; } Thanks |
|
"Action is the foundational key to all success." - Pablo Picasso
| |
| | |
| | #2 |
| Advanced Warrior War Room Member Join Date: May 2004 Location: Perth, Australia.
Posts: 717
Thanks: 4
Thanked 182 Times in 138 Posts
|
The trouble with fonts is that you have to be certain that the font is installed on everyoned computer, so that it gets displayed properly. If the font is not installed, it will fall to the default font, whcih in most case ruins the entire effect. If you want to use a font that is not widely installed (and this is one of those fonts), then make your writing as an image and upload the image. If it is a commonly displayed font, the following CSS can help: .header-title { font-family: "Lucida Calligraphy"; color: #FFFFFF; font-size: 13px; font-weight: nonr; padding: 60px 0 0 30px; text-align: left; } Hope this helps Bruce |
| ----------------- Get Your Backlinks indexed quicker at BackLinks2RSS Create Full Text Feeds from Partial RSS Feeds at FeedExpander.com. See the WarriorForum post about it here | |
| | |
| | #3 |
| Warrior Member Join Date: Oct 2009 Location: Nashville, TN - Costa Rica
Posts: 12
Thanks: 0
Thanked 2 Times in 2 Posts
|
what he said, there is also an embedded font format but for now only works in ie for windows.
|
| | |
| | |
| | #4 |
| Wordpress Code Monkey War Room Member Join Date: May 2009 Location: Earth
Posts: 94
Blog Entries: 1 Thanks: 21
Thanked 114 Times in 33 Posts
|
If you don't mind people seeing a different font, you could also specify multiple fonts...starting with the one you prefer and ending with fallback fonts in case people do not have it. If the font you want to use is free, you could tell people to grab a copy...and those who grab and install it will then see your site with that font. For multiple fonts: font-family: "Lucida Calligraphy", verdana, arial, courier; That would use your chosen font if the user has it, then fall back to verdana, arial, and finally courier if they did not. As munkyscripts noted, there is no reliable way to display unusual fonts currently...but it can be done for some browsers. If you absolutely want a specific look, images are the way to go...but I would avoid using too many if you want your pages to load in a snappy manner...a lot of people still have rather slow connections. |
| PWS WP Ad Manager Plugin: An ad spot and ad block placement tool for wordpress. The Privateer Theme: See my WSO to get the Ad Manager and the Theme for a steal while supplies last. "Those who expect to reap the blessings of freedom must, like men, undergo the fatigue of supporting it." ~ Thomas Paine | |
| | |
| | #5 |
| Active Warrior Join Date: Oct 2009
Posts: 34
Thanks: 0
Thanked 1 Time in 1 Post
|
Don't forget to change the font in all .header-title, .header-title a, .header-title a:hover. I use only fonts from m$ Paint so you can be sure all users have this font. |
| | |
| | |
| | #6 |
| Affiliate Review Guru |
When Changing fonts you need to be careful. There are certain fonts that are universal and some that are not. If you choose a font that is not, you will be taking a chance with some of your visitors that land on your page. The font text could look jacked up from their view if they do not have that particular font on their hard drive. There is a way to put the font you want in your formatting, and also have an alternative font that will auto load if your primary font is not accepted by certain viewers. I can't remember the relevant code to do this but I will ask some of my friends and get back to you. |
| Need to Learn Affiliate Marketing from Scratch Fast? Click Here (We just added Free Videos) Get Motivated for Success! Click Here Affiliate Training Pros Click Here | |
| | |
| | #7 |
| Addy Osmani Join Date: Oct 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
From experience: Don't go for embedded fonts, sIFR or anything that requires additional post-load memory to get it looking the way you want. The experience and overload are just not worth it. If you're looking to use a specific font that may not be on all your users systems, simply open up an image editor and create a graphic with the typography in it instead. |
| | |
| | #8 |
| Edwin Boiten War Room Member Join Date: Sep 2006 Location: The Hague,Netherlands.
Posts: 588
Blog Entries: 1 Thanks: 205
Thanked 128 Times in 80 Posts
|
if it's purely for the header why don't make you i an image and have the text hidden? That way you are always sure people will see it the way you intend it to be
|
| | |
![]() |
|
| Tags |
| change, font, title, wordpress |
| Thread Tools | |
| |
![]() |