Honestly, I don't think you should worry or focus so much on this. Styling is the theme's job – if it has invisible text, that is something either the theme designer or user should fix. There are simply too many themes for you to be sure your plugin will look "right" in all of them.
Habari recognizes this by allowing theme developers OR users to create their own template files – if something isn't working, just override it in your theme. On Nov 19, 2008, at 3:57 PM, mikelietz wrote: > > Cross-posting this to the forum: > http://habariproject.org/forums/comments.php?DiscussionID=16 > > I made an update to maintenance_mode today (http:// > trac.habariproject.org/habari-extras/changeset/1311) as it was found > that having the default error text in h1 rendered it invisible in two > of the basic themes, Charcoal and K2. I made it h2 and added the id > "maintenance_text" so that somebody could style it like > h2#maintenance_text { color: red; } if desired. > > But h2 is also white on white in Charcoal. > > Both show up in the right side of Mzingi, not under the header, since > they don't have the correct class (I think). > > So, short of adding inline style to the text itself either in the > plugin (bad) or in a configuration option (not much better), I'm not > sure what to do to get this plugin to work without a template for all > of the default themes. > > As committed, it looks good in K2. It's still invisible in Charcoal, > and it's off to the right in Mzingi. Changing it to a H3 header makes > it look great in Charcoal, tiny in K2, and still over to the right in > Mzingi. Changing it to just a div does the same thing. > > Any suggestions? I'm always up for adding configuration options, but > I'm not sure that's really the right fix for this. > > --mikelietz > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/habari-dev -~----------~----~----~----~------~----~------~--~---
