Home › Forums › ART WordPress Theme › Different font wieghts in headings
- This topic has 14 replies, 2 voices, and was last updated 7 years, 9 months ago by
SeaTheme.
-
AuthorPosts
-
September 3, 2018 at 1:06 pm #16246
Hello,
is it possible to use different font weights one the headings or can i only use one weight for alle the headings?
September 4, 2018 at 1:54 am #16261Hi,
It is not possible to set different font weights for headding1- 6 by default option. You need to add some custom css, what’s font sourse(Google, or hosted font) you want to use?
Regards!
September 4, 2018 at 6:03 am #16267Hello, i use Proxima Nova.
September 4, 2018 at 8:43 am #16271Is Google or hosted font?
September 4, 2018 at 9:00 am #16273I uploaded myself 🙂
September 5, 2018 at 1:40 am #16289Please use the font-face to define the font. Set the font to headding(like headding 3)
/*define the font*/ @font-face { font-family: 'MyWebFont'; src: url('your-font-file-url.woff2') format('woff2'), url('your-font-file-url.woff') format('woff') } /*apply font to headding*/ .entry h3, h3 { font-family: 'MyWebFont' }You need put the CSS to Appearance > Customize : Additional CSS
September 5, 2018 at 6:15 am #16290What is “font-face”.
What else does i need to do, besides putting the code in the Additional CSS?
September 5, 2018 at 7:02 am #16291Please read the font-face article: https://css-tricks.com/snippets/css/using-font-face/
September 5, 2018 at 7:54 am #16292Im not really into allt this coding 🙂
When the font is applied to the heading, can i then till change the size in the BM font management or?
September 5, 2018 at 8:05 am #16294What’s formats of your font file? Strongly suggest you use the 2 formats.
Put the CSS to Appearance > Customize : Additional CSS
Replace the your-font-file-url.woff2 and your-font-file-url.woff as your own font files URL. It will work for headding 3/*define the font*/ @font-face { font-family: 'MyWebFont'; src: url('your-font-file-url.woff2') format('woff2'), url('your-font-file-url.woff') format('woff') } /*apply font to headding*/ .entry h3, h3 { font-family: 'MyWebFont' }September 5, 2018 at 8:41 am #16295Im sorry!
I just found out, the font is syncronized with Typekit!September 6, 2018 at 8:03 am #16303Is it just the same method then?
September 7, 2018 at 12:53 am #16314I don’t understand your question, please give more tips, thanks!
September 7, 2018 at 6:08 am #16322My font is not uploaded – Its synchronized from Typekit.
How do i then, apply different fonts in my headings?
September 7, 2018 at 6:27 am #16324You don’t upload font files, use another css to do.
Put the CSS to Appearance > Customize : Additional CSS:
@import url("https://use.typekit.net/typekit-ID.css"); /*apply font to headding*/ .entry h3, h3 { font-family: 'TheFontName'!important;}You need login your Typekit account to look for the typekit-ID and TheFontName
-
AuthorPosts
- You must be logged in to reply to this topic.
