Filter Your search
Category
All Categories
↳CMS
↳Joomla
↳Extensions
↳Style & Design
↳Print & PDF
Select sub category
Articles styling
Design
Modules Management
Modules Panel
Page Background
Popups & iFrames
Print & PDF
Templating
Typography
Language
All Languages
Select country
All Languages
English
Sort By

Add Print Stylesheet

Last Updated Jan 31, 2021
Visits 82

This plug-in with separate versions for Joomla 1.5, 2.5 and 3.x loads a print stylesheet in the [template path]/css folder.

Most templates do not include a print stylesheet by default but a print stylesheet can be useful to remove unwanted elements from printed copies of your web pages. This might include dark ink wasting backgrounds, menus and other elements that have no use in a printed copy.

The main advantage of using AddPrintStylesheet compared to manually editing your template code is that the change will not be overwritten by template updates.

The plug-in is installed using the standard Joomla installer. You can install a newer version over an older version.

Upload the print stylesheet CSS file (e.g. print.css) to the [template path]/css folder.

In Plug-in Manager, edit "System - Add Print Stylesheet", add the stylesheet file name (e.g. print.css) and enable the plugin.

That's all there is to it!

Change History:
Version v1.3: fixed "Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP" warning message
Version v1.2: adds support for Joomla Extension Manager updates
Version v1.1: adds support for Joomla 3.x and uses JURI::base() to more accurately determine the template path
Version v1.0: initial release