Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Input field “Enter style name” does not find any classes

  • Hi team,

    I have a large number of utility classes that I am currently transferring from my style.css to global styles.

    I am running into a problem:

    The naming convention of all these utility classes is:

    fs-h1, fs-h2, … (font-size)
    ar-16-9, ar-1-1, … (aspect-ratio)
    mb-s, mb-m, mb-l (margin-bottom)
    mt-s, mt-m, mt-l (margin-top)
    pb-s, … (padding-bottom)

    etc…

    The problem is:

    If I want to quickly search for such a utility class in the dropdown box of the global styles, I type the first two letters into the field (Enter style name).

    But I get no result! as if this class did not exist.

    But when I use the scrollbar, I see that the class I am looking for is at the very bottom.

    After searching for a long time for the cause of this error, I found out that the search input only reacts when 3 letters are entered !!! Why the hell is that?

    So I would have to enter the hyphen every time I want to find such a class quickly.
    This makes the “quick entry” ad absurdum.

    Can there be a solution for this? Or does it mean that I have to come up with a new naming convention for all my utility classes?

    Thank you!

  • Hi Stefanie,

    I found out that the search input only reacts when 3 letters are entered !!! Why the hell is that?

    No, it’s not normal behaviour. It should start to react even if you only enter 1 letter.
    Here’s a screen recording of how the search should work:https://app.screencast.com/Uj6SDUWwIfuQJ

    Can you disable all other plugins to test?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.