Hi, I need help again. I am still currently working on my infobox. I wanted the infobox heading to change color depending on gender, as my old infobox, but the problem is I switched to portable infoboxes and portable infoboxes don't support inline styles so I ended up adding 2 pi themes to my MediaWiki:Wikia.css:
.portable-infobox.pi-theme-male-character .pi-title { background: #449dc7; } .portable-infobox.pi-theme-female-character .pi-title { background: #b36bbd; } /*everything good so far...*/
then I started using this code for my infobox:
<infobox theme={{#switch: {{{gender|}}} | Male="male-character" | Female="female-character" | male="male-character" | female="female-character"}}>
That didn't work so now I'm stuck again. Any help is appreciated, thanks.