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

My [[dice]] background is grey

Original html and css is Jacob’s better defalut template. I making custom template! But when I rolling dice [[1d3]] with this, my dice background is grey like 2nd photo.  So I delete css in first photo, dice box is return but The colors in even rows also disappeared. How can I fix this problem??
1613800529
Kraynic
Pro
Sheet Author
What is the complete macro you are using to roll those?  Seems to me that you would need something like: &{template:custom} {{color=green}} {{title=Background Test}} {{Roll 1=[[1d3]]}} {{Roll 2=[[1d3]]}} {{Roll 3=[[1d3]]}} {{desc=[[1d3]]}} That would be 4 different lines (as the template would recognize them) to see if they are displaying as you wish.
1613802608

Edited 1613807227
GiGs
Pro
Sheet Author
API Scripter
Those rolls need another CSS style applied to them, because they are criticals or fumbles. You probably want something like this: .sheet-rolltemplate-custom .sheet- content   .inlinerollresult , .sheet-rolltemplate-custom .sheet- content   .inlinerollresult .fullcrit , .sheet-rolltemplate-custom .sheet- content   .inlinerollresult .fullfail, .sheet-rolltemplate-custom .sheet- content   .inlinerollresult .importantroll { Though I see the first crit roll isnt grey so this might not be the solution. I think it'd likely related though, judging by the position of the grey sections (the first set matches the crit/fumbles, just one step shifted, and the second set of grey rolls matches up perfectly).
thank you very much! I solve this problem with inlinerollresult code. TT  have a good day!
1613807238
GiGs
Pro
Sheet Author
API Scripter
You're welcome :)