Free online Chess server. Play Chess now in a clean interface. No registration, no ads, no plugin required. Play Chess with the computer, friends or random opponents.
Play
Create a game Tournament Simultaneous exhibitions
Learn
Chess basics Puzzles Practice Coordinates Study Coaches
Watch
Lichess TV Current games Streamers Broadcasts (beta) Video library
Community
Players Teams Forum Questions & Answers
Tools
Analysis board Opening explorer Board editor Import game Advanced search
Sign in
Reconnecting

Want to use custom pieces in lichess.

Asked by CreativeThinking
Tags piece style help
Activity Viewed 60 times, last updated
1
I want to use this style in lichess userstyles.org/styles/163909/lichess-board-blue-and-marble?autofb#discussions-area but I'm unable in doing that. Can anyone help me, please?
One answer
1
Answered by bufferunderrun
That userstyle is just a board theme, it has nothing to do with the pieces.

Change .purple .is2d .cg-board, #top div.color_demo.purple
to
.is2d .cg-board

If you use Stylus instead of Stylish, you'd need to drop @-moz-document domain("lichess.org") {...} as well.
CreativeThinking commented :
So where can I find those pieces?
bufferunderrun commented :
Hard to help you with this, since no one knows what you were looking for. I just let you know that the userstyle didn't have any pieces.

Anyhow, you can always create your own. Then you add .is2d piece.queen.black {background-image:url(your-url-here-or-base64-data) !important;} and similar for other pieces.
CreativeThinking commented :
Oh well.. sorry I did not mention the pieces. I wanted to have those pieces that were shown in the preview. I got it btw! Thanks for the help!

Only registered members with one week of lichess activity can contribute to the Q&A.