That code should work, but where did you add it? To
config/panel.css?
There is a bug in the "USER" templates that doesn't load the CSS for user-login. I have fixed it already for the pending new release, but you can hot-fix it yourself. Open
/panel/filemanager_user/header.php, and find the following code on line 28:
<?php /* <!-- load custom panel.css from parent of X3 installation if exists --> */
if(file_exists('../../panel.css')) echo '<style><!--' . file_get_contents('../../panel.css') . '--></style>';
if(file_exists('custom.css'))echo '<style><!--' . file_get_contents('custom.css') . '--></style>';
?>
Replace the code above with the following code:
<?php
/* <!-- load custom panel.css from parent of X3 installation if exists --> */
if(file_exists('../../../panel.css')) echo '<style><!--' . file_get_contents('../../../panel.css') . '--></style>';
/* <!-- load custom custom.css from panel folder if exists --> */
if(file_exists('../custom.css'))echo '<style><!--' . file_get_contents('../custom.css') . '--></style>';
/* <!-- load /config/panel.css if exists --> */
if(file_exists('../../config/panel.css'))echo '<style><!--' . file_get_contents('../../config/panel.css') . '--></style>';
?>
Now you should be able to apply CSS also for USERS with
/config/panel.css ...