Using the Stylish plugin, I have installed lots of custom sets for lichess. Something apparently changed on the server, because they no longer show up. Does anyone know what caused it and how to modify the css to show custom pieces?
The DOM has changed.
Before:
<div class="cg-square"><div class="cg-piece king white"></div></div>
After:
<square><piece class="king white"></piece></square>
Before:
<div class="cg-square"><div class="cg-piece king white"></div></div>
After:
<square><piece class="king white"></piece></square>
Thank you.
Wait, so the contents of the file look like this:
.cg-piece.pawn.black { background-image: url("http://i.imgur.com/u7fFTje.png")!important;}
What should that be changed to?
.cg-piece.pawn.black { background-image: url("http://i.imgur.com/u7fFTje.png")!important;}
What should that be changed to?
Thanks!
Yeah, literally none of my downloaded stylish changes work except for terminal lichess and slightly updated lichess. I guess we're going to have to wait for people to recode ALL of those pieces/boards/themes?
At a second glance ...boards seem to still work but custom pieces, all of them, are left non workable.
I will try to get all the ones I've posted updated this weekend.
#7 not really need to wait, the "update" is not so complicated to do yourself.
Just open stylish, edit style, select the one you want to edit and in the source code of the images of each piece delete the .cg-piece at the beginning of each line and you are all set.
Just open stylish, edit style, select the one you want to edit and in the source code of the images of each piece delete the .cg-piece at the beginning of each line and you are all set.
This topic has been archived and can no longer be replied to.