How to get rid of URLs in the text when printing?

Last modified by Vincent Massol on 2016/07/05

The flamingo skin, which is based on bootstrap, has the feature that the printed version of pages displays the URL after every link contained in the text.

For example:

print-preview.png

If you do not like this feature, you can get rid of it by using a StyleSheetExtension:

  • Create a new page, i.e. somewhere in the "XWiki" space.
  • Go into the object editor and add a XWiki.StyleSheetExtension
  • In the "Code" text area add the following CSS code:
    @media print {
      
    a[href]:after {
        
    content: none
      
    }
    }
  • Choose "On this wiki" from the "Use this extension" dropdown
  • Save the changes
Tags:
   

Get Connected