How to Remove That html Code from Under Your Comment Box

8
205 followers
Updated

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.

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training

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.

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

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training