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 background-image in CSE?

hello, I am working on porting my sheet from legacy to CSE, but no matter what I do, I can not get background-image to work
1623254711
Andreas J.
Forum Champion
Sheet Author
Translator
take a look at how existing sheet's have solved it: <a href="https://wiki.roll20.net/Character_Sheet_Enhancement#Sheets_Using_CSE" rel="nofollow">https://wiki.roll20.net/Character_Sheet_Enhancement#Sheets_Using_CSE</a> pretty sure just adding .charsheet in front of all css classes fixes it, along with removing the .sheet- part from everything that isn't in a roll template.
1623273058

Edited 1623273747
CKenny
Sheet Author
Andreas J. said: pretty sure just adding .charsheet in front of all css classes fixes it, along with removing the .sheet- part from everything that isn't in a roll template. Well ... the background image was on the .charsheet selector and for the .sheet- &nbsp;prefix, I added it to all my HTML side class instead Edit : nevermind, somehow I had removed the g from the .png , no wonder the image wasn't being displayed