Free Directory, Listing & Classifieds WordPress Plugin Support General HivePress Listing category text word wrap not enabled

Listing category text word wrap not enabled

  • Author
    Posts
  • bb-

    Hi!

    First of all! I LOVE your plugin! Thank you for all the hard work you put in it!

    1. I’m using the listings categories block in Gutenberg with 4 columns. One of my categories are “Abcdefghijklmnopqrstu” long. When browsing the page you only see “Abcdefghijklmnopq”. I think some kind of a word wrap enabled here should fix it.

    2. I’m having an attribute (field type Select) that I’m displaying (%value%) in block (secondary). The option word wraps before it really needs to. So it’s a lot of dead space after 1-2 words and than it switches to the next row. I think maybe word wrap shouldn’t be enabled here after x amount of letters but rather when the text comes to the end of the block?

    With best regards,

    bb

    ihordeveloper

    Thanks! There’s no way to break text at some specific number of words, but you can use this temporary fix for listing categories:

    .hp-listing-category–view-block .listing_category__name,
    .hp-listing-category–view-block .listing-category__name {word-break:break-word}
    bb-

    Thanks for the fix but it doesn’t work. Here is two images that explains what I mean. With best regards, bb

    ihordeveloper

    Sorry, missed a dash:

    .hp-listing-category--view-block .listing_category__name,
    .hp-listing-category--view-block .listing-category__name {word-break:break-word}
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.