• Hi, Since the latest big update, the docs titles are truncated in the frontend (displayed with a shortcode), making them not readable, even though there is a lot of space available:

    Can you provide a fix to display the full title? (I would recommend using the CSS text-overflow: ellipsis; instead of hardcoded truncated titles (docs))

    Thank you for your great plugin ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Md. Anower Hossain

    (@anowerhossain16)

    Hi @yoancutillas,

    Thanks for bringing this to our attention. Your recommended CSS Code snippet is recorded for review.

    For now, you can use this snippet temporarily to your theme’s additional CSS section. We will let you know the update after the workaround.

    Thank you and have a nice day.

    Thread Starter yoancutillas

    (@yoancutillas)

    There is no possible workaround for now since the titles are truncated in the PHP code (without any hooks to change it).

    I had to change your PHP code to not truncate the title first (in /templates/shortcode.php) and then I could use this CSS code:

    .wedocs-shortcode-wrap ul.wedocs-docs-list li.wedocs-docs-single a.icon-view { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    The result is as desired: https://booking-activities.fr/en/documentation/user-documentation/

    However, changes in a plugin PHP code is deleted after each updates, so it is not a solution at all, I hope you will be able to provide a fix in a next release ??

    Plugin Support Md. Anower Hossain

    (@anowerhossain16)

    Hi @yoancutillas,

    Thanks for the research and update.

    We have already proposed the fix to our development team. I hope this fix will be available in the next release.

    Thank you and have a nice day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Docs list titles are truncated’ is closed to new replies.