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 .
×
Create a free account

Css not working on custom sheet?

1631235416
borings b.
Pro
Marketplace Creator
so, the left side is what the sheet looks like in the sandbox, the right side is the sheet in the game. not sure what is happening here, the css is stuff like this table, th, td {     text-align:center;     padding: 3px;     color: black;     margin: 0 auto;     border-collapse: collapse;     border: 1px solid black;     background-color:#efefef;     font-size: 90%; } .sheet-general {     text-align: center;     overflow: auto;     color: #444;     margin: 3px auto;     width: 80%;     padding: 3px;     border-radius: 10px;     background-color: #ead8c2;     border: 2px solid #857f5e;     box-shadow: 0 4px 8px 0 rgba(133, 127, 94, 0.2), 0 6px 20px 0 rgba(153, 153, 153, 0.19); }
1631242177

Edited 1631242514
vÍnce
Pro
Sheet Author
Is the sheet set up for CSE mode or Legacy?&nbsp; If your non-sandbox game is not in legacy mode, try enabling it from the game's settings page.&nbsp;&nbsp; If you want the sheet to be compatible with the latest roll20 sheet options, you'll need to update the sheet to work under CSE.&nbsp; See the wiki for what a sheet author needs to do in order to work without legacy. <a href="https://wiki.roll20.net/Character_Sheet_Enhancement" rel="nofollow">https://wiki.roll20.net/Character_Sheet_Enhancement</a>
1631249238
borings b.
Pro
Marketplace Creator
thats wild. so i added the sheet- on the css stuff to make it work in the sandbox but i had to take it off to work in game. thanks for the heads up
1631249820
vÍnce
Pro
Sheet Author
Great.&nbsp; fyi: with non-legacy/CSE sheets, you no longer need to include "sheet-" except for roll templates. The wiki should have all the info.&nbsp; Cheers
1631255990

Edited 1631256032
GiGs
Pro
Sheet Author
API Scripter
To get it working the same in the sandbox, open the JSON settings tab on the launch page, and look for legacy. It will probably say true - if so, change it to false. Then you wont need to put sheet- in the css class names.