Troubleshooting Common Redux Framework Typography Field Issues
Content
If you're using the Redux Framework to manage your WordPress theme or plugin options, the typography field is a powerful tool for controlling fonts. However, several recurring issues can cause it to malfunction. This guide covers the most common problems and their solutions, based on community reports and fixes from the Redux Framework team.
Common Problem 1: Field Doesn't Save When 'font-style' is False
Symptoms: When you set 'font-style' => false in your typography field configuration, the field fails to save any data. Revisiting the options panel tab might even cause a blank screen or JavaScript errors.
Solution: This is a known bug that has been addressed in newer versions of Redux Framework. The recommended fix is to update to the latest version available from the official GitHub repository. If a general release isn't available, you can try the beta version where this issue has been resolved.
Common Problem 2: Font Weight & Style Dropdown is Empty
Symptoms: If you disable the font family selector by setting 'font-family' => false, the 'Font Weight & Style' dropdown may appear empty, even if Google fonts are also disabled ('google' => false).
Solution: This is another edge-case bug that the development team has fixed. To resolve it, delete your current copy of the Redux Framework plugin and download the latest version directly from GitHub. This ensures you have the most recent patches.
Common Problem 3: Font Size Copies to Line Height
Symptoms: When you enter a value only for the font size, that same value is automatically copied into the line height field.
Explanation: According to the Redux Framework team, this behavior is by design to prevent unpredictable results. The official recommendation is to always set explicit default values for both the font size and line height in your field configuration to avoid this automatic copying.
General Troubleshooting Tips
- Check Your Code: Ensure your field arguments are correct. For example, the argument for line height units is
line-height-unit, notline-size-unit. - Debugging: If you encounter a blank screen or JavaScript errors, open your browser's console (F12) to check for specific error messages. This can often point to a conflict or a specific bug.
- Reporting Bugs: For persistent issues not listed here, it's best to report them on the Redux Framework GitHub issue tracker, where the developers can address them.
By understanding these common pitfalls, you can effectively troubleshoot and configure the typography field to work seamlessly in your projects.
Related Support Threads Support
-
Spinner Field is not workinghttps://wordpress.org/support/topic/spinner-field-is-not-working/
-
Sortable field in text mode has stopped workinghttps://wordpress.org/support/topic/sortable-field-in-text-mode-has-stopped-working/
-
Field type Slides doenst seem to workhttps://wordpress.org/support/topic/field-type-slides-doenst-seem-to-work/
-
Layout Breakage and No Displayhttps://wordpress.org/support/topic/layout-breakage-and-no-display/
-
Typography Line height Issuehttps://wordpress.org/support/topic/typography-line-height-issue/
-
Sortable checkbox fields showing key names, not valuehttps://wordpress.org/support/topic/sortable-checkbox-fields-showing-key-names-not-value/
-
Add taghttps://wordpress.org/support/topic/add-tag-2/
-
Typography field doesn’t work if ‘font-family’ set to ‘false’https://wordpress.org/support/topic/typography-field-doesnt-work-if-font-family-set-to-false/
-
Select Field Sortable / Ajax bugshttps://wordpress.org/support/topic/select-field-sortable-ajax-bugs/
-
BUG on type ‘typography’https://wordpress.org/support/topic/bug-on-type-typography/
-
Typography field: Font Weight & Style is empty if ‘font-family’ disabledhttps://wordpress.org/support/topic/typography-field-font-weight-style-is-empty-if-font-family-disabled/
-
Textarea extra empty fieldshttps://wordpress.org/support/topic/textarea-extra-empty-fields/
-
Any documentation how to create absolute position?https://wordpress.org/support/topic/any-documentation-how-to-create-absolute-position/
-
How to remove Disable sorter element title namehttps://wordpress.org/support/topic/how-to-remove-disable-sorter-element-title-name/
-
data argument for Text field not rendering / savinghttps://wordpress.org/support/topic/data-argument-for-text-field-not-rendering-saving/
-
Typography field – Do not saving when font-style falsehttps://wordpress.org/support/topic/typography-field-do-not-saving-when-font-style-false/
-
Multi text field problemhttps://wordpress.org/support/topic/multi-text-field-problem/