Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gravity Forms 2.5 Theme CSS issue with File Upload action buttons on Edit Entry page and GF 2.9 #2208

Open
rafaehlers opened this issue Nov 15, 2024 · 1 comment

Comments

@rafaehlers
Copy link
Contributor

rafaehlers commented Nov 15, 2024

This issue only affects the Edit Entry page when Gravity Forms 2.9.x is used and when the "Default Form Theme" setting is set to Gravity Forms 2.5 Theme.

image

2024-11-15.16-30-22.mp4

This seems to be related to the fact that the Edit Entry page is loading two Gravity Forms stylesheets: basic.min.css and admin-icons.min.css

https://29beta.try.gravitykit.com/wp-content/plugins/gravityforms/assets/css/dist/basic.min.css?ver=2.9.0
https://29beta.try.gravitykit.com/wp-content/plugins/gravityforms/assets/css/dist/admin-icons.min.css?ver=2.9.0

Both stylesheets set font-family for the .gform-icon class, and the font-family: gform-icons-theme!important set for basic.min.css is the problem.

Gravity Forms 2.8.x, loads the admin-icons.min.css stylesheet later, so the icons are showing up correctly:

image

Perhaps this is related to the load order of the stylesheets since both of them are loaded on the Edit Entry page.

Link to check: https://29beta.try.gravitykit.com/view/file-upload/ (log-in as admin)

@rafaehlers
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant