Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 2:33 pm (All times are UTC )

 




Post new topic Reply to topic  [ 1 post ] 
Author Message
Posted: Sun Sep 17, 2006 9:18 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Sep 06, 2005 9:10 am
Posts: 251
Location: Netherlands
*** search words ***
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:
/* --------------------------------------------------
   Imported Styles
-------------------------------------------------- */

@import url("site.css");


Site.css can be changed in the name you have chosen for your css file.

Now you still have one base CSS file, but the proper layout will appear on the send to, pdf en print 'pages'.

_________________
Joomla insite


Last edited by MarkV on Tue Jun 12, 2007 9:09 pm, edited 1 time in total.

Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group