Detail View

Hello,

Is there a setting within Fabrik's administration to control the formatting of elements in the detail view.

I see there are ways to control the formatting from the detail list, but the settings don't seem to replicated to the details view for that record.

So for instance, if I change the 'CSS Cell' in the Element it works for the list view of records, but doesn't go through to the details view of the actual record.

I was just interested in having bold titles for each elements label in the Detail View for a record.

Thanks
 
Nope, those CSS settings are for list view only (hence under "List view settings").

If you want to modify form or detail view CSS, create a custom CSS file. Copy ...

./components/views/details/tmpl/bootstrap/custom_css_example.php

... to custom_css.php. Inspect your page to figure out what selectors you want to modify, and add the CSS between the BEGIN and END comments (delete the example stuff).

So for example, to make all Fabrik element labels in all details views bold ...

$form .fabrikLabel label {
font-weight: bold;
}

If you want to be more specific about which form to do it on (like id 123), create your own container div ID ...

#details_123_{$rowid} .fabrikLabel label {
... blah ...
}

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top