Keyword

Remove URLs frpm K2 print preview - k2.print.css

  • Site Wide Design
  • Site Wide Design's Avatar Topic Author
  • Offline
  • New Member
More
7 years 8 months ago #160121 by Site Wide Design
Remove URLs frpm K2 print preview - k2.print.css was created by Site Wide Design
Hi Guys,
I am having an issue when clicking print - the URLs within the page are showing in full, not just the display text between the <a> tags.
Now i have added the following to the k2.print.css but it is not taking effect.
a {
display:none;
}

I have tried adding important also, but the links are still being shown regardless, how can i force-ably remove them completely when printing? Or at least only show the linked text not the url?

Regards
Donna

Please Log in or Create an account to join the conversation.

  • Site Wide Design
  • Site Wide Design's Avatar Topic Author
  • Offline
  • New Member
More
7 years 8 months ago #160122 by Site Wide Design
Replied by Site Wide Design on topic SOLVED: Remove URLs frpm K2 print preview - k2.print.css
Ok, so i managed to find a solution via CSS. I've used the code:
/***Remove links when printing ***/
@media print{
       a{display:none;}
}

within the custom.css file, adding it to the k2.print.css file did not do anything - infact nothing did in that file.

Regards
Donna

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 8 months ago #160147 by Krikor Boghossian
Replied by Krikor Boghossian on topic SOLVED: Remove URLs frpm K2 print preview - k2.print.css
If the k2.print.css file is not being used in the template, then editing it won't have any effects.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum