Hi,
I love Fabrik and using it on my hobby project. I appreciate all the developers and members on the forum.
I have a little issue with setting a custom font size for my form. I did follow the instruction but I still can't figure out.
http://fabrikar.com/forums/index.php?wiki/css-styling-examples-fabrik3-3/
Here is the custom_css.php and it is placed properly in components/com_fabrik/views/details/tmpl
Any help is greatly appreciated.
I love Fabrik and using it on my hobby project. I appreciate all the developers and members on the forum.
I have a little issue with setting a custom font size for my form. I did follow the instruction but I still can't figure out.
http://fabrikar.com/forums/index.php?wiki/css-styling-examples-fabrik3-3/
Here is the custom_css.php and it is placed properly in components/com_fabrik/views/details/tmpl
Any help is greatly appreciated.
PHP:
header('Content-type: text/css');
$c = (int) $_REQUEST['c'];
$view = isset($_REQUEST['view']) ? $_REQUEST['view'] : 'form';
$rowid = isset($_REQUEST['rowid']) ? $_REQUEST['rowid'] : '';
$form = $view . '_' . $c;
if ($rowid !== '')
{
$form .= '_' . $rowid;
}
echo <<<EOT
/* BEGIN - Your CSS styling starts here */
#$form #83 > ul {
font-size: 18px;
}
.fb_el_fqbddata___Names {
font-size: 18px;
border: 2px solid red;
padding: 40px;
}