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

Custom sheet question: "-style" -prefix???

1593047825

Edited 1593048544
So, I'm super new to the custom sheet system. Just messing around right now. But I cannot for the life of me get my CSS styling to be recognized in the CSS sheet for the HTML element I've entered. In the guide ( <a href="https://wiki.roll20.net/Building_Character_Sheets" rel="nofollow">https://wiki.roll20.net/Building_Character_Sheets</a> ) it says that, "In the CSS file, all class-names must have a '-style' -prefix in their name..." I tried this, but it can't be right because A) the class shows up red and B) it has no affect on the element. Even though I'm fairly familiar with CSS and HTML I'm feeling a little dumb and exasperated here. :( Below, some screenshots:
1593048385
Kraynic
Pro
Sheet Author
Further down that page, you will see the following under the Restrictions heading: In the CSS file, all general classes should have a start with a sheet- prefix for Roll20 to read them. Give a shot with .sheet-Test1 in your css.
You are AWESOME Kraynic!!!!&nbsp; I have been messing with that for hours! lol Worked perfectly!
1593048861

Edited 1593048886
GiGs
Pro
Sheet Author
API Scripter
It looks like the wiki had an error there. I've replaced the style- mention with sheet- , for future readers.
1593048938
Kraynic
Pro
Sheet Author
Good luck going down the sheet creation rabbit hole!&nbsp;