Hide URLs on printed page

Sep '13 Joomla Template
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Apr 29, 2015 4:35 pm
Reply with quote
Report this post
I'm using CloudHost (Joomla 3) with K2.
I want to hide the full urls on the print view/page.

It must be something like...

Code: Select all
@media print {
  a[href]:after {
    content: none !important;
  }
}


... but no matter in which css file I put it, there's no effect at all. Could anyone help me out, please?

Thanks,

Mike
User avatar
Fresh Boarder

GK User
Wed Apr 29, 2015 6:54 pm
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Thu May 07, 2015 9:47 am
Reply with quote
Report this post
User avatar
Fresh Boarder

GK User
Thu May 07, 2015 1:57 pm
Reply with quote
Report this post
Problem solved. Guess iit must have been a cache bug. Now it works just fine with following css lines in print.css...


Code: Select all
@media print {
  a[href]:after {
    content: none !important;
  }
}
User avatar
Fresh Boarder

GK User
Fri May 08, 2015 7:18 am
Reply with quote
Report this post
Thanks for sharing the solution.
Is there anything else I can help you with regarding this topic?
User avatar
Moderator


cron