I want to import a CSS file on the typo3 registration page.
Below is my code that I added in the ext_tables.php file.
if (TYPO3_MODE === 'BE') { $GLOBALS['TBE_STYLES']['inDocStyles_TBEstyle'] .= '@import "/typo3conf/ext/mytemplate/Resources/Public/Backend/css/login.css";'; }
But that does not work.
However, when I add an inline style, it works fine.
$GLOBALS['TBE_STYLES']['inDocStyles_TBEstyle'] .= ' #t3-login-form:after { content: "\00a0"; background-image: url("' . \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Backend/Images/foo.png"); width: 220px; height: 187px; display: inline-block; overflow: hidden; position: relative; left: 201px; bottom: 533px; } ';
But I want to import a css file.
Can anyone suggest me?
I am using the following extensions.
typo3 6.2.14
stream 7.2.1
vhs 2.3.3
fluidcontent 4.3.1
fluidpages 3.3.1
source share