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


  • 0 Votes
    28 Posts
    1691 Views
  • 0 Votes
    1 Posts
    198 Views
  • NodeBB Heroku Port

    Technical Support
    0 Votes
    2 Posts
    197 Views
  • 0 Votes
    8 Posts
    7011 Views
  • 0 Votes
    6 Posts
    3541 Views