template_css.css, template, css, layout, send to, print, create pdf, function, functions
*** problem ***
So you build this realy nice template and decided not to use the template_css.css file, but your own files. You launched your website, but when you click on the print, create pdf, or send to function all layout disappears.
*** solution ***
The template CSS file is hard coded in the core of Joomla. This will be changed in the future but for now you can do two things. You can either hack the core files, but if you have to upgrade to a new Joomla version, the problem will be back. The easiest way to solve this problem is to create a template_css.css file in your template css directory and refer to you main css file. The content of template_css.css will look like this:
Code: Select all
/* --------------------------------------------------
Imported Styles
-------------------------------------------------- */
@import url("site.css");
Now you still have one base CSS file, but the proper layout will appear on the send to, pdf en print 'pages'.