• Resolved arifemre123x

    (@arifemre123x)


    After selecting a file, the name of the file is printed on the screen. However, when there is a long name, my website theme breaks down. In this case, while showing the selected file name on the screen, I want to print up to 10 characters.

    Below is the screenshot of the problem I mentioned.

    View post on imgur.com

Viewing 1 replies (of 1 total)
  • Plugin Author Glen Don Mongaya

    (@glenwpcoder)

    Hello @arifemre123x ,

    I don’t see a problem on your screenshot.

    If you upload a file with long filename it should add a … before the size.

    See this for example: https://snipboard.io/VN6WgU.jpg

    If you want to limit to 10 characters you need add css on “.dnd-upload-status .dnd-upload-details .name span” and set a width.

    Please let me know if you have any questions.

    Thanks,
    Glen

Viewing 1 replies (of 1 total)
  • The topic ‘How can I limit the total number of characters when displaying a long filename?’ is closed to new replies.