How to Create a Transparent PDF Markup Box with a Red Border
Question details
The user wants to add a markup box to a PDF with a transparent background and a visible red border, but finds that setting the fill to transparent sometimes causes the border to disappear as well.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Reviewing or annotating a PDF document where text needs to be highlighted with a bounding box without covering or obscuring the underlying content.
- Observed behavior
- When attempting to make the comment box's background transparent by setting the opacity to zero, the red outline border also disappears, making the entire annotation invisible.
Ensure that your PDF document is not restricted from editing or commenting, and verify that you are actively selecting the annotation object rather than the document background.
Configure Fill, Border, and Opacity Settings Independently
Separate the global opacity setting from the individual fill color setting to ensure the border remains visible while the background becomes transparent.
The most common reason for a border disappearing is adjusting the global 'Opacity' of the entire comment box to 0%. Instead, you must set the 'Fill Color' specifically to 'None' while keeping the global opacity at 100%.
Click on the existing markup box or text box in your PDF document to highlight it.
Press 'Ctrl+E' on your keyboard, or right-click the selected annotation and choose 'Properties' from the context menu.
In the Properties menu, locate the 'Fill Color' option (often represented by a paint bucket icon) and select 'No Color', 'None', or 'Transparent'.
Locate the 'Border Color' or 'Outline' option (often represented by a pencil icon) and select the color red.
Ensure the overall 'Opacity' slider in the properties window is set to 100% so the border remains visible. If the border is too thin, increase the 'Line Thickness' or 'Line Weight' value until it meets your requirements.

Easily Add Transparent Markup Boxes in WPS PDF
WPS Office provides a highly intuitive PDF reader and editor that makes adding, formatting, and managing annotations simple. You can easily apply independent fill and border colors in just a few clicks.
- 1. Open your PDF in WPS Office: Launch WPS Office and open your PDF document.
- 2. Select the Shape Tool: Navigate to the 'Comment' tab at the top of the window and select the 'Rectangle' tool.
- 3. Draw Your Markup Box: Click and drag over the area of the document you want to highlight with a box.
- 4. Adjust Properties on the Fly: Click the newly drawn box. On the floating toolbar that appears, click 'Fill Color' and select the 'No Fill' icon (a red slash), then click 'Border Color' and select red.

Frequently Asked Questions
Why does my entire PDF text box disappear when I change the transparency?
This occurs because you are likely adjusting the global 'Opacity' setting of the shape to 0%. Global opacity affects both the border and the inside fill simultaneously. To make only the background transparent, you must change the 'Fill Color' specifically to 'None' and leave the opacity slider at 100%.
Which annotation tools support transparent fills with colored borders?
Most shape and drawing tools support this feature, including the Rectangle tool, Oval tool, Polygon tool, and Text Box tool. Tools like the standard Highlighter or Pencil may function differently as they are stroke-based rather than shape-based.
How do I make the red outline thicker so it stands out more on the PDF?
Select the markup box and open its Properties (using Ctrl+E or right-click > Properties). Look for the 'Line Thickness', 'Line Weight', or 'Stroke' option. Increase the point (pt) value until the red border reaches your desired thickness.




