?
avatar rgtr
rgtr
11 Feb 2017

Steps to reproduce the issue

http://unaccountablescotland.org.uk/index.php/2-uncategorised/35-test-print-colours

Click Options Icon on top right side. Select Print

Expected result

To get a pdf or color print with different text colors

Actual result

ALL Text print prints black

System information (as much as possible)

Joomla 3.6.5, Windows 7, Chrome latest.

Additional comments

Happens on several other sites.....

Richard@TDOC.net

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar rgtr rgtr - open - 11 Feb 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Feb 2017
avatar tonypartridge
tonypartridge - comment - 11 Feb 2017

Hello,

This isn't s core issue. It is intended by design by the template. The idea being to print friendly the page to help the environment and so on.

Edit your print.css of the template as you see fit.

Many thanks
Tony

avatar Bakual
Bakual - comment - 11 Feb 2017

Closing as not a bug

avatar Bakual Bakual - close - 11 Feb 2017
avatar Bakual Bakual - change - 11 Feb 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-02-11 18:16:36
Closed_By Bakual
avatar rgtr
rgtr - comment - 12 Feb 2017

Tony,
Thanks for your very useful comment.

However, Protostar has only two css files showing: offline.css and template.css

The next problem is that the template.css has absolutely no commenting - so altho i have some basic knowledge - indeed i used to write software [see tdoc.com] - some guide as to what to do would be good - viz which line nos address the preview....

When I use the inspect function in Chrome, the change has already occurred and one cannot see what is happening.

In my view this probably renders protostar unusable.

Commenting is required asap.

Richard


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14021.

avatar tonypartridge
tonypartridge - comment - 12 Feb 2017

Again this isn't a bug, commenting maybe required ASAP but GITHub is for Joomla! issues not help and support. Nonetheless check your template.css file and you will clearly see:

@media print { * { text-shadow: none !important; color: #000 !important; background: transparent !important; box-shadow: none !important; } a, a:visited { text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } thead { display: table-header-group; } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } @page { margin: 0.5cm; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3 { page-break-after: avoid; } }

media print

means when printing apply this CSS. I've never used Protostar as a template and when I write mine I use print.css opposed to inline in the template.css.

Handle it as you see fit, but it's not a core issue.

avatar rgtr
rgtr - comment - 12 Feb 2017

Tony,
Thanks

Found that at line 112. - had to import into jedit to get line nos - but no probs.

the only color is "color: #000 !important;" so have commented that line out /* ... */
so now i have:

@media print {
* {
text-shadow: none !important;
/* color: #000 !important; */
background: transparent !important;
box-shadow: none !important;
}

and hey presto - that is fixed

thanks a million.

richard

had to remember that Chrome is very persistent - so had to test in opera with its vpn setting on .... ace as it clears this type of thing.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14021.

Add a Comment

Login with GitHub to post a comment