Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Working With Face-Font

Featured Replies

Hi Guys

 

I'm working on a website. What I am trying to do is turn a PSD into HTML5 and CSS. To get the Titles & Headings the way I want them .. I am using Font-Face.

 

However when I bolden the weight of the face-font ... it still doesn't show as bold !!

 

I would greatly appreciate some help.

 

Thank You.

I can't see much wrong with this style:-

@font-face {

font-family: ArcherPro-Book;
font-weight: bold;
src: url("../font/ArcherPro-Book.otf") format("opentype");

}

 

except that when I used bold I coded it AFTER the src but I can't believe that that would make a difference.

Does the ArcherPro-Book font allow or have a bold version?

 

It doesn't work in IE because IE needs the font in .eot format which you can add

@font-face {

font-family: ArcherPro-Book;
src: url("../font/ArcherPro-Book.eot");
src: url("../font/ArcherPro-Book.otf") format("opentype");
font-weight: bold;
}

if you can get it in .eot format.

  • Author

Thanks Wickham

 

Yep I know about the IE, however I'm viewing the site in Chrome.

 

How can I find out if that font allows or has a Bold Version ? Is there a way to find out ? In Photoshop .. it does have a Bold option !

 

Thanks

Hi Guys

 

I'm working on a website. What I am trying to do is turn a PSD into HTML5 and CSS. To get the Titles & Headings the way I want them .. I am using Font-Face.

 

However when I bolden the weight of the face-font ... it still doesn't show as bold !!

 

I would greatly appreciate some help.

 

Thank You.

 

change your font declaration to this

 

@font-face { 
 font-family: ArcherPro-Book;  font-weight: normal;
font-style:normal;
src: url("../font/ArcherPro-Book.otf") format("opentype"); 
} 

 

then alter the weight in your h1 settings

  • Author

Thanks Pat24

 

That worked but it looks raggedy for some reason !! It doesn't look smooth at all.

 

If no better solution exists .. I think I'll return it to what it was .. but with a bigger font. :(

change your font declaration to this

 

@font-face { 
 font-family: ArcherPro-Book;  font-weight: normal;
font-style:normal;
src: url("../font/ArcherPro-Book.otf") format("opentype"); 
} 

 

then alter the weight in your h1 settings

 

Yes, that's what I did actually, I've just checked. Normal in the style for the font and bold in h1.

  • Author

Do you guys not notice how raggedy it is ? :) or is it just me ! LOL

It's OK for me in 1024*768 resolution in Firefox and Chrome (you've styled it as bolder at the moment).

  • Author

Don't you think it looks better now ?

It's now 40px without bold, looks a bit thin in Chrome but looks very bold in Firefox. I suppose Firefox is making it thicker in proportion to the height but Chrome isn't so much.

Don't you think it looks better now ?

 

it looks sharp enough

  • Author

Nice Thanks Guys :)

 

Very Much Appreciate your Help. :drinks:

It's directly 40px without boldface, looks a bit dilute in Chrome but looks very bold in Firefox. I suppose Firefox is making it denser in balance to the height but Chrome isn't so much.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.