How to Remove Gray Shading Around a PDF Button
Question details
The user wants to eliminate a gray border or background area that appears around a PDF button icon, and prevent the icon from shrinking when the button is resized.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Customizing the appearance of an interactive graphic button within a PDF form.
- Observed behavior
- A gray shading area appears around the button's icon, and resizing the button causes the internal icon to shrink disproportionately.
Ensure your PDF document is opened in form-editing mode so you have access to the interactive field properties. It is also helpful to have your original icon image file on hand in case it needs to be re-imported.
Set Button Fill and Border Colors to Transparent
The gray shading is typically caused by the default background fill or border color applied to form fields. Removing these settings will make the button background completely transparent.
Interactive PDF form elements often come with a default gray fill so that users can easily identify clickable areas. If you are using a custom icon, this gray fill acts as an unwanted background layer.
Open your PDF editor and select the 'Form' or 'Prepare Form' tool from the main menu.
Right-click on the button that has the gray shading and select 'Properties' from the context menu.
In the Properties dialog box, click on the 'Appearance' tab to view the color settings.
Locate the 'Fill Color' and 'Border Color' options. Click on the color boxes and select 'No Color' or 'Transparent'.
Close the Properties dialog box and save your PDF document to apply the transparent background.

Adjust Icon Scaling and Layout Settings
If your icon shrinks when the button is resized, modifying the advanced icon placement and scaling settings will remove extra padding and keep the image proportional.
Create and Customize PDF Form Buttons Seamlessly with WPS Office
WPS Office features a robust built-in PDF Editor that makes designing interactive forms simple. You can effortlessly manage button appearances, remove unwanted shading, and configure icons without dealing with complex nested menus.
- 1. Open your PDF in WPS Office: Launch WPS Office and open the PDF document containing your form.
- 2. Access the Form tools: Click on the 'Form' tab located on the top ribbon to enter the interactive editing mode.
- 3. Edit the button properties: Double-click the push button to open the Properties panel.
- 4. Customize appearance: Under the 'Appearance' section, set the Fill Color to 'No Color' to instantly remove the gray shading.

Frequently Asked Questions
Why do interactive PDF buttons have a gray background by default?
Most PDF editing software applies a light gray default fill color to form fields so that users filling out the document can easily identify where to click or type. This is purely visual and can be changed to transparent in the field's Appearance settings.
Can I use an image with a transparent background for my PDF button?
Yes, you can upload PNG images with transparent backgrounds as your button icon. However, if the PDF button field itself has a 'Fill Color' applied, that color will show through the transparent areas of your PNG image.
How do I stop my button icon from distorting when I resize the button?
To prevent distortion, open the button's Properties, navigate to the Options tab, click Advanced, and ensure the scaling is set to 'Proportionally'. Alternatively, set 'Scale When' to 'Never' to lock the icon at its original dimensions.




