How to Remove That html Code from Under Your Comment Box

8
14
205 followers

How do you remove the html code from under your comment box on your pages and posts?

I saw this code underneath the comment boxes on my website:

You may use these HTML tags and attributes: <a href=”” title=””> <abbr title=””> <acronym title=””> <b> <blockquote cite=””> <cite> <code> <del datetime=””> <em> <i> <q cite=””> <strike> <strong>

So how do you remove it?

First you have to go into the Dashboard then into Appearance then Editor.

When you are in Editor for edit theme, go to Styles then open styles.css.
I found the line which looks like this:

#content #commentform .form-allowed-tags {
color: #707070;
font-size: 12px;


underneath add the following text: display:none;

so that it looks like this:


#content #commentform .form-allowed-tags {
color: #707070;
font-size: 12px;
display:none;


Then click the "update file" button and when you view the page, the code should be gone.

It took me a few minutes of web research to figure this out, and a few minutes to find the correct line of code to edit.
Different themes probably have this code on a different line number.
It may help to copy and paste the code into an html editor to help find the line you need to edit, but I don't think that's necessary.
Just take a little time to look through the code to find where you need to edit.

8
14

Join FREE & Launch Your Business!

Exclusive Bonus - Offer Ends at Midnight Today

00

Hours

:

00

Minutes

:

00

Seconds

2,000 AI Credits Worth $10 USD

Build a Logo + Website That Attracts Customers

400 Credits

Discover Hot Niches with AI Market Research

100 Credits

Create SEO Content That Ranks & Converts

800 Credits

Find Affiliate Offers Up to $500/Sale

10 Credits

Access a Community of 2.9M+ Members

By continuing, you agree to our Terms of Service and Privacy Policy
No credit card required

Recent Comments

14

Thanks @JeremyWinter. I finally found it.

It didnt work for me.Been working on this for an hour. Need help.

Nope. Did not work with mine. :( Could not find that section of code anywhere in any of my styles.css files. Looked several times, even tried files-allowed tag

great Jeremy..it worked ...thanks a million

JeremyWinter has it right. You should be able to take care of it. Good luck!
Jay

Took some time to find it on my theme but thanks for the post, it helped with that issue.

Hmm, didn't work for some reason. I put the code in but it still shows up. Must be my theme.

can't find it not sure
any section its under ?

On the right side of the screen look at the bottom and at least in the twenty fourteen template it says stylesheet and under it is styles.css.
in the twenty fourteen template you need to look for:

6.9 Archives

.form-allowed-tags,
.form-allowed-tags code {
font-size: 12px;
line-height: 1.5;

So I would just look for form allowed tags within your template.

1

ok will try that ty

I have also saw something like that and had trouble since no one could leave me a comment. Do you think this could be the cause?

Thank you for the information. That's very helpful.

See more comments

Join FREE & Launch Your Business!

Exclusive Bonus - Offer Ends at Midnight Today

00

Hours

:

00

Minutes

:

00

Seconds

2,000 AI Credits Worth $10 USD

Build a Logo + Website That Attracts Customers

400 Credits

Discover Hot Niches with AI Market Research

100 Credits

Create SEO Content That Ranks & Converts

800 Credits

Find Affiliate Offers Up to $500/Sale

10 Credits

Access a Community of 2.9M+ Members

By continuing, you agree to our Terms of Service and Privacy Policy
No credit card required

2.9M+

Members

190+

Countries Served

20+

Years Online

50K+

Success Stories

The world's most successful affiliate marketing training platform. Join 2.9M+ entrepreneurs building their online business with expert training, tools, and support.

© 2005-2025 Wealthy Affiliate
All rights reserved worldwide.

🔒 Trusted by Millions Worldwide

Since 2005, Wealthy Affiliate has been the go-to platform for entrepreneurs looking to build successful online businesses. With industry-leading security, 99.9% uptime, and a proven track record of success, you're in safe hands.