[TYPO3-english] Custom CSS

Luis E. Suarez nospan at please.com
Mon Aug 13 14:45:28 CEST 2018


Wiesław Golsz wrote:
> Hello,
> 
> I made a copy of the original "Introduction" template. The original one
> was hidden.
> 
> I removed from the test template "includeCSSLibs" and "includeCSS" -
> was cleared.
> 
> I have includ the line to "Constant".
> page.includeCSS = fileadmin/intense/css/style.css
> 
> But TYPO3 does not load customized css:
> http://remax-prestige.pl/typo3/
> 
> It should be like here
> http://remax-prestige.pl/htb/novi/projects/template/test2.html
> 
> The whole template record:
> 
> Constant
> 
> /[treeLevel = 0]//
> //page.theme.navigationstyle = default-transition//
> //page.theme.navigationtype = top//
> //[end]//
> //plugin.bootstrap_package.settings.less.brand-primary = #10a0cb//
> //page.theme.copyright.text = Running with <a
> href="http://www.typo3.org" target="_blank">TYPO3</a> and <a
> href="https://github.com/benjaminkott/bootstrap_package"
> target="_blank">Bootstrap Package</a>.//
> //page.theme.meta.enable = 0//
> //page.logo.file = fileadmin/introduction/images/introduction-package.svg//
> //page.logo.fileInverted =
> fileadmin/introduction/images/introduction-package-inverted.svg//
> //page.includeCSS = fileadmin/intense/css/style.css//
> //plugin.bootstrap_package.settings.less.section-primary-link-color = #ff8//
> //plugin.bootstrap_package_contentelements.menu_thumbnail.media.height =
> 170m//
> //plugin.bootstrap_package_contentelements.menu_thumbnail.media.width = 170/
> 
> Setup
> 
> /page.includeCSS. =//
> //page.includeCSSLibs >//
> //page.includeCSS >/
> 
> Regards,
> 

In template Setup:

page.includeCSS {
	file1 = fileadmin/templates/mytemplate/css/styles.css
}


More information about the TYPO3-english mailing list