Html <div> Error-Not using Customize Code

Hi team,

on the front page it looks plain.
image

Text editor:

image

Back-end

image

Please look this… I did not understand why it is not using customize code in front page of the post.

P.S: Not only this heading but all the heading of the article.

Wrap that line with p tag also.

And for headings, use H1, H2, etc. and not like this.

I already did this brother.

Should be <div><p> ....... </p></div>

You can search for basics of HTML online also.

yes, but I am using the same from the past 6+ months. and never stuck in any problem. But, today itself, it is not working. Plus, all the article are hampered because of this.

Please let me know, how I implement this code to the h2 to h6 tag.

. text {
font-size: 24px;
letter-spacing: 0.04em;
word-spacing: 0.1em;
margin: 20px;
text-transform: capitalize;
font-weight: bold;
text-align: left;
}

You’re doing it wrong! If the site mentioned in your profile is the one, then check once again as there are no headings and structure in your articles.

You simply cannot use a class ‘heading’, you have to use heading tags for the same. Like p for paragraph, H1 for Main heading, H2 for secondary, etc.

Use .h2 instead of .text and wrap the content with H2 tag.

Also, in some article of yours, there are multiple H1, so you should fix that.

It would help if you can provide the link.

Yes! I’m working on the same. but here is a catch. I use CSS style

. heading {
font-size: 24px;
letter-spacing: 0.04em;
word-spacing: 0.1em;
margin: 20px;
text-transform: capitalize;
font-weight: bold;
text-align: left;
}

And with above code. My work look something like this.

image

I do this because I want all my heading to look similar. But it is not working any more. I know the above code might be scary to you, so please tell me who you do this.