Conversation
supportI’m using Block Responsive – Make Editor Blocks Responsive Easily and noticed an issue with theme-defined font sizes. When I try to select one of the predefined font sizes from my theme for a block, the selection does not stay saved. Instead, it always jumps back to the first available font size option. This happens with the font sizes defined in the theme, not with manually entered/custom font sizes. Could you please check whether this is a bug or if there is a specific configuration needed for theme-defined font sizes? Thanks a lot! edit: I use your plugin together with a child theme for Twenty Twenty-Five. This topic was modified 1 day, 2 hours ago by blumeblau .
Update / additional finding: I managed to get the theme-defined font sizes to show up and be selectable now. However, I noticed another issue with fluid typography values defined by WordPress / theme.json. The font size preset itself is now recognized in the editor, but on the frontend the generated CSS only outputs the static size value, not the fluid min / max values. For example, the plugin outputs something like this: @media (max-width: 767px) { .brcss-9d0ada63-morn0v7g { font-size: 2.5em !important; line-height: 0.9 !important; } } So it seems that the plugin reads the main size value from the font preset, but does not preserve or convert the fluid typography settings into a clamp() value. In my case, the font sizes are created via the WordPress typography / global styles interface, not manually hardcoded in the child theme’s theme.json. Could you please check whether fluid typography presets from theme.json / global styles are currently supported by the plugin? Expected behavior would be that the responsive CSS uses the actual fluid preset value, for example a generated clamp(...) value or the corresponding WordPress preset CSS variable, instead of only the static max/default size. Thanks again!
Update / additional finding: I managed to get the theme-defined font sizes to show up and be selectable now. However, I noticed another issue with fluid typography values defined by WordPress / theme.json. The font size preset itself is now recognized in the editor, but on the frontend the generated CSS only outputs the static size value, not the fluid min / max values. For example, the plugin outputs something like this: @media (max-width: 767px) { .brcss-9d0ada63-morn0v7g { font-size: 2.5em !important; line-height: 0.9 !important; } } So it seems that the plugin reads the main size value from the font preset, but does not preserve or convert the fluid typography settings into a clamp() value. In my case, the font sizes are created via the WordPress typography / global styles interface, not manually hardcoded in the child theme’s theme.json. Could you please check whether fluid typography presets from theme.json / global styles are currently supported by the plugin? Expected behavior would be that the responsive CSS uses the actual fluid preset value, for example a generated clamp(...) value or the corresponding WordPress preset CSS variable, instead of only the static max/default size. Thanks again!