How to display page number only (withtout the url path) in footer when printing a page?


Is there a way to print page numbers without printing the url path in footer? Like in the screenshot below:



Not that I know of, but I just spent a few minutes googling it (because it would require some run code I guess, to alter the css for print layout)


Ok thanks, yeah I have a coded component and tried adding css in multiple ways but none of them worked this is why I am asking the question