Description: Click to collapse a collapsible fieldset in node/add form. Result: legend disappears (entire fieldset is now inaccessible.)
Setup: I'm using Mothership as a base theme for ninesixty, and in turn using ninesixty as a base theme for my custom subtheme. I have verified that this issue still exists if I simply use Mothership as my theme.
I am not sure how Mothership is interacting with the system module in this case, but the css responsible for this comes from system.css (line 310: html.js fieldset.collapsed * {display: none;}). In my browser tools, I can fix this by assigning a style of display:inline to the span that contains the label. But here is the interesting part: I cannot get the form to obey my theme css file! Other parts of the page read it just fine - but the form ignores it.
I have figured out a hack to temporarily fix the issue: I opened up Mothership's template.form.php file and modified line 87, adding 'style="display:inline"' to the span tag.
But I do want to style this form with my theme's css. If you don't have a Mothership fix for this, is there a snippet I can add to my subtheme's template.php file that will let me do this?
I dig Mothership, but if I can't style my node/add forms, I will need to disable it!
thanks,
Dale
Comments
Comment #1
dalehgeist commentedTo be clear, these are two separate issues: 1) In Mothership, collapsible fieldsets disappear (i.e. legend disappears) when collapsed; 2) I can't style the node/add (or node/edit) form using my theme's css.
Turns out that the second issue is NOT related to Mothership. I disabled Mothership, and still cannot get the form to obey my CSS selectors. (The rest of the page has no problem.) I will post this second issue to the general community.
Comment #2
dalehgeist commentedMore info has just arrived. Nothing to see here. That $%#@! Boost had cached old pages and was not releasing them even when turned off. Cleared the Boost cache directory. If this saves anyone from pulling their hair out, then great. I'd like those hours back now, please...
Comment #3
mortendk commentedhere ya go 4 hours ;)