CDRH / chesnutt

Rails site code for the Charles W. Chesnutt Archive https://chesnuttarchive.org
0 stars 0 forks source link

Display formeworks for correspondence #171

Closed kmcmullen closed 1 year ago

kmcmullen commented 2 years ago

If possible, we'd like to display the formeworks (<fw>) for correspondence; <fw>s are currently suppressed elsewhere on the site and we would like to continue to suppress them. So, is it possible to only have them display for correspondence?

karindalziel commented 1 year ago

Based on conversation with Kevin, I turned ALL formworks back on in the TEI (previously they were only on for galley proofs). If we want them disabled in certain sections we can add the class name to the tei.css file. I have an example rule to suppress them already in the file

// suppress fw on certain pages
// example below

// .category_correspondence {
//   .tei_fw {
//     display: none;
//   }
// }

If we want to selectively allow formworks I can rework the CSS