Width of Autocomplete filter under headings

Status
Not open for further replies.

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
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.:confused:
 
That's the ticket!!! :D

I thought it might have something to do with $c and tried some variations on it but apparently I didn't try that one.

I wonder why the other thread had such a different callout compared to mine. From the sounds of it, he was doing the exact same thing.

Thanks again! With that information I am well on my way to tweaking all sorts of stuff!
 
The other thread was in Fabrik2, HTML/CSS has changed.
Use firefox with firebug to check the CSS classes + element (HTML) ids.
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top