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

**URL:** <https://community.appfarm.io/t/how-to-display-page-number-only-withtout-the-url-path-in-footer-when-printing-a-page/207>\
**Category:** Ask the community\
**Created:** [January 23, 2023, 11:29am UTC](https://community.appfarm.io/t/how-to-display-page-number-only-withtout-the-url-path-in-footer-when-printing-a-page/207 "2023-01-23T11:29:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lequeuxa](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/lequeuxa/32/128_2.png) [@lequeuxa](https://community.appfarm.io/u/lequeuxa)\
**Post date:** [January 23, 2023, 11:29am UTC](https://community.appfarm.io/t/how-to-display-page-number-only-withtout-the-url-path-in-footer-when-printing-a-page/207/1 "2023-01-23T11:29:21Z")

</div>

Hi,

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

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/4e808b2a7a2224863a0b975818d9b87037a59ec3.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [January 23, 2023, 8:14pm UTC](https://community.appfarm.io/t/how-to-display-page-number-only-withtout-the-url-path-in-footer-when-printing-a-page/207/2 "2023-01-23T20:14:36Z")

</div>

Hi!

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)

---

<div class="post-metadata">

**Author:** ![lequeuxa](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/lequeuxa/32/128_2.png) [@lequeuxa](https://community.appfarm.io/u/lequeuxa)\
**Post date:** [January 24, 2023, 7:40am UTC](https://community.appfarm.io/t/how-to-display-page-number-only-withtout-the-url-path-in-footer-when-printing-a-page/207/3 "2023-01-24T07:40:15Z")

</div>

Hi!

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
