Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Body Text to H1


helpmecss

Question

Hello,

how can I change a Body Text (this particular one is LTC Bodoni) into a Heading font (H1 for example). Is that possible with css?

Thank you in advance!

 

Link to post
  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

6 answers to this question

Recommended Posts

  • 0

Thank you creedon! Is it possible to substitute a font then with a custom one? What would the css be if I want all LTC Bodoni fonts be swapped out with one that I download to the site?

Thank you in advance!

 

Link to post
  • 0

@helpmecss

You don't really substitute using CSS it is more a process of overriding various rules that define what elements use which font/size/weight, etc.

After your font is available somewhere on the web via a URL. In this case probably uploaded to your site. You start with a ruleset that defines the font. Something like the following.

@font-face {
  font-family: myFirstFont;
  src: url(sansation_light.woff);
}

From there you override whatever you want changed.

h1 {

  font-family : myFirstFont;
  
  }

Again this is all very general. Without a site to view it is difficult to be more specific.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to post
  • 0

Hi Creedon,

I'm sorry to bother you again. I appreciate your help so much! I know how to change the H1, H2 or H3 but this particular font is not a heading font... it is LTC Bodoni. And there is no way I can change LTC Bodoni to a Heading font. I would show you the website but it's not public yet and my client doesn't want me to change that until it's done.

Link to post
  • 0
On 3/18/2021 at 9:33 AM, helpmecss said:

Hi Creedon,

I'm sorry to bother you again. I appreciate your help so much! I know how to change the H1, H2 or H3 but this particular font is not a heading font... it is LTC Bodoni. And there is no way I can change LTC Bodoni to a Heading font. I would show you the website but it's not public yet and my client doesn't want me to change that until it's done.

Do you still need help?

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...