Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Print Popup Styling

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi

Can you explain how to customise the CSS for the print popup in the T3 framework?

I am working in the Responsive template but applies to others as well
  • joomlanz's Avatar
  • joomlanz
  • LIfetime Developer - Big Bamboo
  • 29 posts
  • Karma: 0
The administrator has disabled public write access.
Hi joomlanz,

The print view uses this file as the template:

/templates/your_template_name/component.php

You can add an extra CSS file in addition to template.css and put your styling for the print view into it.

Regards,
  • vietvu's Avatar
  • vietvu
  • 12 Month basic
  • 605 posts
  • 51 Thanks
  • Karma: 22
The administrator has disabled public write access.
Yes that is how a standard Joomla template does it but in

templates/responsive/component.php there is

include (dirname(__FILE__).'/index.php');

$this->addStylesheet (T3_TEMPLATE_URL.'/css/component.css');

and in index.php there is

$t3app = T3::getApp($this);

// get configured layout
$layout = $t3app->getLayout();

$t3app->loadLayout ($layout);


Was just hoping you could elaborate on that as I am a bit lost as to where to go from there?
  • joomlanz's Avatar
  • joomlanz
  • LIfetime Developer - Big Bamboo
  • 29 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Joomlanz,

I am not sure what CSS customization that you need, but if you want your modifications only applied to the print view, then you can create a file named "/css/component.css" and put your CSS into it.

Regards,
  • vietvu's Avatar
  • vietvu
  • 12 Month basic
  • 605 posts
  • 51 Thanks
  • Karma: 22
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers