rackem
Well-Known Member
I am trying to adjust the width of an autocomplete filter that is set to under headings.
Here is a link to my page: http://www.mypoolstats.com/index.php?option=com_fabrik&view=list&listid=15
The filters in question are first name and last name.
I tried following the instructions in this thread: http://fabrikar.com/forums/showthread.php?t=25620
but I can't get it to work.
Here is the contents of my custom_css.php file that I uploaded to /components/com_fabrik/views/list/tmpl/default
I am using the default list template and my full element name is mps_players___first_name.
It is probably something simple but this CSS stuff is Greek to me.
Here is a link to my page: http://www.mypoolstats.com/index.php?option=com_fabrik&view=list&listid=15
The filters in question are first name and last name.
I tried following the instructions in this thread: http://fabrikar.com/forums/showthread.php?t=25620
but I can't get it to work.
Here is the contents of my custom_css.php file that I uploaded to /components/com_fabrik/views/list/tmpl/default
Code:
<?php
header('Content-type: text/css');
$c = $_REQUEST['c'];
$buttonCount = (int) $_REQUEST['buttoncount'];
$buttonTotal = $buttonCount === 0 ? '100%' : 30 * $buttonCount ."px";
echo "
/* BEGIN - Your CSS styling starts here */
#mps_players___first_namevalue {
width: 75px;
}
/* END - Your CSS styling ends here */
";?>
I am using the default list template and my full element name is mps_players___first_name.
It is probably something simple but this CSS stuff is Greek to me.