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.

How to limit the number of characters so they appear after…

  • `add_filter(

  • Hi there,

    that snippet requires you to add the cu-limit-text class to the Headline block.

  • <– Ok. please check.

    ADDITIONAL CSS CLASS(ES) <– I put it here, but it does not apply.

  • <– And I want this to apply to posts in the category tab as well.

    <– Site shown in screenshot

  • It needs to be added to the ADDITIONAL CSS CLASS(ES).
    Can you add it there?
    If it still doesn’t work then it is probably related to the Character types.

  • I added it, but it doesn’t work. You can add it yourself and check it. Please check.

  • It wasn’t applied because I didn’t press enter. It works fine now.

    <– And I want this to apply to posts in the category tab as well.

    g <– Site shown in screenshot

  • You needed to clear the WP Rocket caches.
    I suggest that your disable WP Rocket while you’re developing your site.

  • It wasn’t applied because I didn’t press enter. It works fine now.

    <– And I want this to apply to posts in the category tab as well.

    <– Site shown in screenshot..

  • It is the same process.
    edit the query loop, select the Headline block and in ADDITIONAL CSS CLASS(ES). add: cu-limit-text

  • thank you. I solved it.

  • Glad to hear that

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