How to Add a Custom Image Around Page Numbers in Word
Question details
The user needs to display page numbers within a custom leaf-shaped design for a book document.

- Product
- Word
- Device & OS
- not provided
- Scenario
- Formatting a book layout where standard page number styles are insufficient for the desired creative design.
- Observed behavior
- Word's built-in page number styles only include basic shapes, preventing the direct selection of a custom leaf graphic.
Ensure your custom image is saved on your computer, ideally with a transparent background (like a PNG file), so it seamlessly blends with your document.
Insert Custom Image and Page Number Field in the Footer
Place your graphic in the header or footer area and overlay the page number using a text box to make the design repeat on every page.
By placing objects directly into the header or footer, Word automatically repeats them across all pages in that section. You do not need to create separate page number building blocks unless you intend to reuse this specific design in other documents.
Double-click the very top or bottom margin of your document to open the Header & Footer editing mode.
Navigate to 'Insert' > 'Pictures' and select your leaf image. Resize and position it where you want the page number to appear.
Go to 'Insert' > 'Text Box' > 'Draw Text Box' and draw a small box directly over your custom image. Set the Shape Fill to 'No Fill' and Shape Outline to 'No Outline'.
Click inside the transparent text box and press 'Alt+Shift+P'. This keyboard shortcut automatically inserts the current page number field.
Ensure both the image and the text box are anchored to the footer paragraph so they move together. Double-click the main document area to exit Header & Footer mode.

Save as a Custom Page Number Building Block
If you plan to reuse this leaf design in future book projects, save the grouped image and text box as a custom building block.
Create Beautiful Custom Page Numbers with WPS Office Writer
WPS Office Writer makes it incredibly easy to customize your headers and footers. You can effortlessly insert custom shapes, images, and dynamic page fields to create a professional book layout.
- 1. Open Header & Footer: Open your document in WPS Writer and double-click the footer area.
- 2. Add Your Image: Click 'Insert' > 'Picture' to add your custom leaf graphic into the footer.
- 3. Overlay a Text Box: Click 'Insert' > 'Text Box', draw it over the image, and set its fill and outline to 'No Color'.
- 4. Insert Page Number: Click inside the text box, navigate to 'Insert' > 'Page Number', and choose the current position to finish your custom design.

Frequently Asked Questions
Why doesn't my custom image appear on every page?
Ensure you inserted the image while actively inside the Header & Footer editing mode. If you placed it in the main body of the document, it will only appear on that specific page.
How do I remove the white background from my text box?
Select your text box, go to the 'Shape Format' tab (or 'Drawing Tools'), click on 'Shape Fill', and select 'No Fill'. Do the same for 'Shape Outline' by selecting 'No Outline'.
Do I need separate sections for odd and even pages?
If you want the leaf image to appear on the left side for even pages and the right side for odd pages, you must enable 'Different Odd & Even Pages' in the Header & Footer settings and manually set up the design on both an odd and an even page.




