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

Copying html/css from github not working for me

Trying my hand at modifying a character sheet.  I copied the html and css pages from the Iron Kingdoms sheet here
But when I paste them into the custom template something goes wrong.  It looks like the css isn't working for some reason.
Just covering the basics here:

1) When copying from Github, did you use the Raw button to get the code?
2) When pasting into the HTML and CSS tabs in your Game Settings, be sure there is no previous code there.
3) After pasting HTML or CSS, be sure you click the Save Changes button at the bottom.
4) Reload your game to see the character sheet changes.
thanks for the reply
1) yes
2) no other code
3) clicked save
4) reloaded game looks just like preview.  no css changes.
April 23 (9 years ago)
Coal Powered Puppet
Pro
Sheet Author
Is the css pasted into the css tab?  Have you changed any class names of the sheet?  

I loaded up a game using the both the Iron Kingdoms sheet on the Roll20 sheet and copy/pasting the code form github without any issues.  I am not sure where the problem is at.
Sorry, I think it was a browser issue.  It works in Chrome.  But still doesn't Preview correctly in Firefox.  Might be a problem with an Add-on.
April 24 (9 years ago)
Lithl
Pro
Sheet Author
API Scripter
The preview tab for custom sheets is notoriously buggy. Even when it's working like it's supposed to, it's absolutely useless for testing the display of repeating sections if you do anything more than very basic styling on it.
April 24 (9 years ago)
Pat S.
Forum Champion
Sheet Author
Many people have two tabs open. One to the editor and the other is in the game itself so they can look at the sheet with a refresh. It is what I do while working on my sheet.
Thanks, that's a good idea. I'll try that.