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

Different font types for Paragraph


Dharrshiyni

Question

Hi, 

Does anyone know how to use different font type for different body?

Example, for

Paragraph 1 (P1) - I want to use Times New Roman

Paragraph 3 (P3) - I want to use Helvatica condensed

How do I do the custom css to assign this?

I used this code:

@font-face { 
font-family: 'TimesNew';
src: url(https://static1.squarespace.com/static/5f88591ef557bc4dba99bfcc/t/5f892ece5c38b61f0fd50432/1602825934496/times+new+roman.ttf)
  
}
P {
  font-family: TimesNew , openSans;
}

But this affects whole of the paragraph (P) , if I assign as P1 or P3 nothing happens. 

I am lost. Can someone help me out? Please.

Thank you in advance. 

 

Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

Create an account or sign in to comment

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


×
×
  • Create New...