No internet connection
  1. Home
  2. Support

Disable blog comments votes

By @stuart
    2020-05-29 19:21:32.785Z

    Hi! I have self-hosted Talkyard. I am using as a comment system in mi blog. I want to disable votes for the comments.

    In admin area > Look and feel I see options for BLOG COMMENTS:
    One of that is:
    Blog post votes
    May blog readers Like or Disagree vote on the blog post itself? Type one of these numbers:
    0: The default, currently means Like votes only (same as 2).
    1: No votes. People can vote on blog comments, but not the blog post itself.
    2: Like votes only.

    I selected option 1 but "People can vote on blog comments".... is there any option to disable absolutly votes?

    Solved in post #2, click to view
    • 2 replies
    1. Seems it'd be good if there was a built-in config value for that. For now, you can hide the vote buttons via CSS:

      Go here: https:// your ty server /-/admin/customize/css-js

      and add this CSS:

      .dw-a-like, .dw-a-votes {
          display: none;
      }
      
      ReplySolution
      1. S@stuart
          2020-05-30 09:50:02.841Z

          Thanks!! It works for me! I also add ".dw-vote-count" class.
          .dw-a-like, .dw-a-votes, .dw-vote-count { display: none; }