How to Remove That html Code from Under Your Comment Box
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.
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
Recent Comments
14
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
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.
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?
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
Thanks @JeremyWinter. I finally found it.