How to Hide a Picture with Its Headline in Word
Question details
The user wants to configure a Word document so that an image automatically hides whenever its associated headline text is hidden.

- Product
- Word
- Device & OS
- not provided
- Scenario
- Structuring a document, such as a recipe book, where section headers and their corresponding images need to be hidden or collapsed together without breaking the layout.
- Observed behavior
- Images remain visible or lose their alignment when the headline text they belong to is hidden.
Ensure that your document is displaying hidden formatting marks by clicking the Show/Hide ¶ button on the Home tab so you can accurately adjust the layout structure.
Use a Two-Column Table with 'In Line with Text' Wrapping
By placing the headline and the image in the same row of an invisible table, you can easily hide the entire row as a single unit.
This method ensures the image and text are structurally bound together. Hiding the table row guarantees that the image will not float out of place when the text disappears.
Click on the recipe picture, navigate to the Picture Format tab, select Wrap Text, and choose 'In Line with Text'.
Go to the Insert tab on the ribbon and click Table to insert a 2-column, 1-row table into your document.
Move your recipe headline text into the left cell of the table and place the picture into the right cell.
Select the entire table, go to the Table Design tab, click the Borders dropdown, and select 'No Border' to make the grid invisible.
Select the entire table row, right-click, choose Font from the context menu, and check the 'Hidden' box under the Effects section.

Use Heading Styles and Collapsible Sections
Apply a heading style to your recipe title and place the image inline below it so they can be collapsed together using Word's outline features.
Easily Manage Layouts and Hidden Text with WPS Writer
WPS Writer offers an intuitive interface for managing tables, images, and text formatting. You can easily link pictures to headlines and hide sections just as seamlessly as in Microsoft Word, all within a free and highly compatible word processor.
- 1. Open your document in WPS Writer: Launch WPS Office and open your recipe document.
- 2. Insert a Table: Navigate to the Insert tab, select Table, and create a 2-column layout to house your text and image side by side.
- 3. Set Image Wrapping: Click your inserted image, select Wrap Text from the toolbar, and set it to 'In line with text'.
- 4. Apply the Hidden Effect: Highlight the table content, right-click to select Font, and check the 'Hidden' attribute to hide the row.

Frequently Asked Questions
Why doesn't my picture hide when I collapse the heading?
If your picture is set to a floating wrap text style (such as 'Square', 'Tight', or 'In Front of Text') and its anchor point is outside the collapsible section, it will remain visible. Change the picture's layout to 'In Line with Text' to fix this.
Can I hide multiple pictures under one headline?
Yes. Place all the pictures within the same table row, or keep them formatted as 'In Line with Text' in the paragraphs immediately following a collapsible Heading style.
How do I print a document without showing the hidden pictures?
You need to ensure your print settings do not include hidden text. Go to File > Options > Display, and make sure the 'Print hidden text' checkbox is cleared before printing your document.




