
So all my fields in my repeating section are named this class="sheet-row sheet-stat-row sheet-pad1" With the CSS .charsheet .sheet-row [class *= "sheet-col"], .charsheet [class *= "sheet-col"] { font-size: 12px; } .charsheet .sheet-pad1{ padding-left:10px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } So I add a checkbox: <div class="sheet-col-1-16" title="hide all the stuff"><input type="checkbox" name="attr_hide_the_deets" value="1" /></div> and I change the class names of the sections I want to hide when this is checked to <div class="sheet-row sheet-stat-row sheet-hidden_pad1">. What should add to the CSS? I tried this and it did nothing .charsheet .sheet-hidden_pad1 { display: padding-left:10px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; ; } .charsheet .sheet-hidden_pad1:checked ~ .sheet-hide_the_deets { display:none; }