Skip to content

How to Hide Spam Links in Blogger Comment Section

When spammers comment on your blog, they intend to leave their spammy links all over their comment. And if you are using the blogger platform, you’ll know that it is impossible to edit these spam comments posted by your blog reader.


But the truth is you can easily remove any spam link posted as a comment on your blog with little to no effort. Did you ask how you can achieve this? You can achieve this by using a simple CSS code.

Must Read: Increase Google Adsense Earning Using this Simple Trick

Should we proceed on how to implement it? If yes, keep reading and you will get the perfect solution.

How to Hide Spam Links in Blogger Comment Section Automatically

I am running a blog on the blogger platform and most times, some commenters leave comments with spam links. To be honest, that’s bad and if you let that kind of comment in, you will be penalized eventually.

So in other not to get penalize, you have just 2 options;

First Option: If the comment doesn’t add value to the post, you delete it.

Second Option: If the comment has value, but has more than one link, approve it but delete the links.

The second option should have been great but it is impossible to edit or delete the links, why? The Blogger platform did not give us the authority to edit the comments made by our commenters on our blogs.

But hey, who says we can’t find a simple way around this? Now you have the option to completely stop spam comment without you being on a lookout.

Hiding Spam Links in Blogger Comment Section Automatically

This is how you can easily hide spam links in a comment made by your commenters.

Must Read: How to Get a Custom URL for your YouTube Channel

First go to your blogger dashboard >>> click “Template” click “Customize” (see image)


In the Customize section, click “Advance” >>> click “Add CSS” (see image)


Are you in your CSS section? If your answer is yes, simply add the below code at the above line of your CSS

[code] .comment-content a {
display: none;
} [/code]

Have you done that? Simply click the “Apply to Blog” button and you have successfully completed your task.

Now any blogger tries to leave unnecessary links on your blog, the link will automatically be removed.

Must Read: 5 Fresh Advice You Will Never Get From a Pro Blogger as a New Blogger

Tell me how awesome is that? Now go try it on your blog and tell me how it goes. Do drop a comment using the comment box below if you encounter any problem along the way and I will put you through ASAP.

Let’s talk

Do you have comments, questions, and thoughts you’d love to share with us? Do use the comment box below to do so. Remember that your comments, questions, and thoughts are highly welcome and most appreciated.

Be social

Was the post helpful enough? Do share the post with friends on your social media. Believe you me, they might find the post very useful as well.

Before you leave, do not forget to subscribe to our feed for your latest updates on the go.

13 thoughts on “How to Hide Spam Links in Blogger Comment Section”

  1. Hi Babanature,

    I wish I knew this when I was on the blogger platform! Yes, there were many spam comments, but as they were always in moderation, so I used to delete them. I guess I never knew CSS, so couldn’t have done the coding bit. Glad you shared this with everyone.

    Thanks for sharing. Have a nice week ahead 🙂

    1. Hello Harleena,

      Those who enjoys the blogger platform are those who find pleasure in coding and those who truly knows how to implement codes.

      Some years back there weren’t much blogs giving tutorials on “how to” for blogger users. And also there was no custom codes available for free at that time.

      But now, tech bloggers are making the blogger platform as easy as possible for bloggers who do not know much about coding, to create their dream blog using the free platform 🙂

      Thanks for stopping by and dropping your wonderful comment as always dear friend.

      Have a brilliant week ahead…

  2. Thank you for the wonderful post.

    I kinda get vexed when I see a comment on my blog with more than 3 links and I can’t edit it… I have been deleting those spammy comments. Thank you for this best solution.

  3. Hi Babanature,

    Even i am using wordpress blog(, i am also having more blogs in blogger platform. As said by Harleena Mam, i too use moderate comment option to get rid of spammy comments in blogspot.

    This Post is informative. I will try this CSS in my blogspot blogs.

    Thanks for Sharing.

    1. Hello Raaja,

      Indeed you’re… 🙂

      With this tip, you can easily moderate your comments without deleting them just like as it is in WordPress..

      Thanks for stopping by and dropping your thought on how to stop spam comments in blogger blog, I truly appreciate 😀

      Have a lovely week ahead…

  4. Hi Babanature,

    This is awesome and smart! I once used the Blogger CMS but abandoned it because it wasn’t as flexible as I wanted it to be…and part of my challenges then were such otherwise simple tasks as you have indicated here.

    I sincerely believe that this simple CSS hack will go a long way in making the lives of bloggers who use Google’s blogger a ton easier.

    Do make the day great!

    Akaahan Terungwa

    1. Hello Akaahan,

      The reason people are running away from it, is simply because of the coding attachments it has.

      Without the knowledge of codding, one cannot use the blogger platform to its full content…

      But thank God, post like this is all over the internet now, bloggers can search for what they are actually looking for, unlike before.

      Thanks fr stopping by and dropping a comment on the post, i sincerely appreciate.

      Do have a beautiful week ahead…

  5. Hi Babanature

    Very useful tip you have shared here because while working on Blogger blog we don’t have the facility of multiple plugins like we have in WordPress so all we need to do with the help of coding and it will help us a lot.

    In Blogger though spam comments can’t do as much harm as they do in WordPress blog but still we need to be so cautious of them and take every step to stay safe from their hazards.

    Many thanks for sharing this wonderful tip.

    Have a great weekend ahead.

    1. Hello Mi,

      Yeah, blogger has limited plugins so finding what you need might be impossible or hard. directly implementing codes is the only way to have a safe and organized blog.

      As they say; “prevention is better than cure”. It is best to fight these spammers with all what we got… 😉

      Thanks for stopping by and dropping your comment. I appreciate..

      Have a lovely weekend

  6. Hi Babanature,

    So glad to see your valuable post on how to hide spam link on comment in blogger platform. Blogger is a popular platform which i used few times back. Currently i am using wordpress as platform and love to moderate any comment comes to me.

    I never give any chances to spammy comment. Thank you for your valuable suggestion.

    Kind Regards
    Yasin Rishad

Leave a Reply

Your email address will not be published. Required fields are marked *