Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Aventures character sheet without style

Hello there, yesterday, a new version of Aventures character sheet was merged with success, since, there is an issue with it as css style load partially : <a href="https://github.com/Roll20/roll20-character-sheets/tree/master/Aventures" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/tree/master/Aventures</a> There is the result when I use it on a new game : But if I copy-paste the .html and .css as custom sheet, everything works fine, like in the preview : <a href="https://github.com/Roll20/roll20-character-sheets/blob/master/Aventures/aventures.jpg" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/blob/master/Aventures/aventures.jpg</a> I don't see anything on console log, I don't guess why some css works and others don't. Did you already encounter this kind of issue ? Can I contact the roll20 support for this ? Thanks.
1640358766
Kraynic
Pro
Sheet Author
In a quick glance, it looks like the sheet.json has legacy mode set to true.&nbsp; This would mean the css would need to have .sheet- in front of everything, which is how things were done before the CSE update to the sheet framework.&nbsp; But it doesn't look like the css is written to be using the legacy mode.&nbsp; My guess is that the legacy setting in the sheet.json needs to be set to false for it to work right.&nbsp; I believe the legacy mode is off by default when you use a custom sheet, and you have to manually check the box to enable legacy mode.&nbsp; That would explain why it works for you as a custom sheet. So the "legacy" : true line in the sheet.json needs to be changed to "legacy" : false
Thanks ! I do the modif and create the pull request crossfingers