If anyone else comes across this, I was able to get it to work by adding the !important tag to prevent the JavaScript from making the element class visible again:
Create the custom theme css file: /var/www/html/fop2/css/custom_theme/theme.css
Add the following line to the file:
.mwi { display:none !important; visibility:hidden !important;}
Save the file
Reload the fop2 panel.
https://forum.fop2.com/home/leaving?target=http%3A%2F%2Fmembers.asternic.biz%2Fknowledge_base%2Fhowto-how-to-modify-the-fop2-look-by-using-themes