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

Rearranging 5th ed character sheet sections

Hey everyone,


On the 5th ed character sheet, I use the "Features & Traits" field to keep track of all kinds of spells, abilities, etc. I would like to move the fields for "Personality Traits", "Ideals", "Bonds", "Flaws" beneath the "Features & Traits" or even better, move them to the Bio page.


Is this at all possible?


Thank you!!

October 29 (3 years ago)
GiGs
Pro
Sheet Author
API Scripter

The short answer is: sorry, no, that's not possible.

With a bit more explanation:

For any other sheet it would be possible - if you were a Pro subscriber at least temporarily, and were willing to abandon further updates (because you'd need to use a custom sheet that couldnt be updated further).

But for 5e by Roll20 that's not possible, because they dont host the sheet code publicly, and have enabled some things on the backend that only work if you are using their official sheet. So if you want to use their sheet, you have to use their layout.

(That said, you'd never be able to move them to Bio page without an API script to manage that. The character sheet doesnt have access to that.)

October 29 (3 years ago)

Edited October 29 (3 years ago)
Oosh
Sheet Author
API Scripter

Anything is possible, if you're at work and procrastinating... this is a Stylus rearrangement, so it's only visible in your own browser window and doesn't actually change the sheet, just the way it displays. Click for gif:


I'm not really sure what you wanted to do with the empty space, that could potentially be a bit trickier. Or maybe not - changing the second line to display: none instead of visibility: hidden should just shift everything to the top of the column, if that's all you wanted to do.

The 5e sheet makes heavy use of absolute pixel values, so I can't really be sure how this will look in someone else's browser either - it might not be quite right.

The code (a bit messy, since those containers aren't in the bio <div>) :

.container.pc input[type=radio].tab-button.core:checked ~ .page.core .textbox.pibf {
visibility: hidden;
}
.container.pc input[type=radio].tab-button.bio:checked ~ .page.core {
display: block!important;
}

.container.pc input[type=radio].tab-button.bio:checked ~ .page.core .col {
display: none;
}
.container.pc input[type=radio].tab-button.bio:checked ~ .page.core .col.col3 {
display: block;
position: absolute;
right: -30px;
top: 330px;
}
.container.pc input[type=radio].tab-button.bio:checked ~ .page.core .col.col3 .hero-points,
.container.pc input[type=radio].tab-button.bio:checked ~ .page.core .col.col3 .resources,
.container.pc input[type=radio].tab-button.bio:checked ~ .page.core .col.col3 .traits {
display: none;
}
.charsheet .container.pc input[type=radio].tab-button.bio:checked ~ .page.core .textbox.pibf {
display: block;
}

.page.bio .col2-3 {
width: 270px;
}

Thanks for your replies, guys. I should have been clearer in my original post, sorry about that. I would like to move "up" the "Features & Traits" field to where the "Personality Traits", "Ideals", "Bonds", "Flaws" currently sit. I have never in my gaming history had to refer to anything from one of those four fields, on the other hand I refer constantly to the things I have put into the expandable "Features & Traits" field. Basically, I'd like to make use of the space that the four fields take up.