Change Vote Icon on Nodebb 1.18

Unsolved Technical Support
  • Re: Change upvote/downvote icons?

    Hi All,

    I make this CSS based on Above topic. And it work well on my Test Forum 1.16.2. Not Voted and Voted will have differnt Icon.

    span.votes {
        // not voted is outline
        .fa-chevron-up:before {
            content: "\f087";        
        }
        // upvoted is solid
        .upvoted .fa-chevron-up:before {
            content: "\f164";
        }
        
        .fa-chevron-down:before {
            content: "\f088";
        }
        
        .downvoted .fa-chevron-down:before {
            content: "\f165";
        }
    }
    

    Result:
    alt text

    alt text

    However on my NodeBB hosted service v 1.18.5 The Icon before vote doesnt appear. If I use same icon for Voted and Not Voted it will appear (Down Vote is using same Icon so it appear).

    alt text

    After Vote
    alt text

    Could you guy please help me fix this CSS. I just want 2 "state" Icon for not voted and voted!
    Thanks

  • @nguyễn-bảo hey there, can you reach out to us at [email protected] so we can take a look?


Suggested Topics


  • Unsolved Technical Support
    0 Votes
    2 Posts
    166 Views

  • Technical Support
    0 Votes
    12 Posts
    3529 Views

  • Technical Support
    0 Votes
    6 Posts
    1774 Views

  • 0 Votes
    2 Posts
    962 Views

  • -1 Votes
    21 Posts
    4631 Views

| | | |