I can't insert page numbers

I want to put number on every page on Writer in the top right corner of the page with 2cm of the margin.
The problem is that I cannot put the number on the corner of the the writer. Whenever I insert page number it insert inside the text.

You don’t have a header

  • Click Format > Page style
  • In the dialogue that opens, select Header tab
  • Tick the box Header on. OK
  • Click in the header and press Tab twice (to get to right tab on page)
  • Click Insert > Page number
1 Like

Thank you so much! That worked!