GeneratePress 3.4.0

February 6, 2024
  • Important: Require PHP 7.4 or later
  • Accessibility: Add label to search modal input
  • Feature: Allow CSS variables and string-based values in Typography
  • Feature: Add read more label filters
  • Fix: Mobile menu toggle alignment when navigation above/below header
  • Fix: Disable nav search modal if using floats or font icons
  • Fix: Remove unnecessary white-space from .site-title and .site-description elements
  • Fix: html typography selector in the editor
  • Fix: Content title color in editor
  • Fix: Content width jump when loading editor
  • Fix: Editor losing content width switching code/visual editor
  • Fix: Remove prohibited attribute from header element
  • Fix: Heading text color in the editor
  • Fix: Wrong text domains

6 responses

  1. David Keevis

    Hi GP Team –
    Really glad to see the Typography enhancements!!! Ran a couple quick tests – I’m assuming that when I drop in a clamp function on an H1 as an example, I specify my clamp function in the desktop size only and clear out the hard declarations in tablet & mobile. And the trailing semi-colon ‘;’ should be eliminated if scraping a line from a CSS function. That’s what makes sense to me – correct?

    I’ve been using fluid-type-scale to derive my clamp function – example clamp(2.44rem, 1.36vw + 2.17rem, 3.26rem) – I like their setup as it allows me to derive what I need for other global styles especially in the body area and a large H1.

    1. Tom

      Thanks for testing! Yes, that sounds like the correct process. Are you having an issues with it?

  2. Onur Can Baysal

    I am receiving this error.

    Warning: Undefined array key “customSelector” in generatepress/inc/class-typrography.php on line 160

    1. Tom

      Thanks for letting us know! We just released rc.1 which should fix this.

      Let me know 🙂

  3. justin

    Hello, i received an error of This block has encountered an error and cannot be previewed. when i added the image block

    1. Stacey Usborne

      Hi there,

      Can you please open a support topic for this error?
      https://generate.support/

      Thanks!

Leave a comment

Your email won’t be published. Fields marked * are required.