How to display custom defined "Choose a file…" message NOT justified text?

Home \ forums/topic \ How to display custom defined "Choose a file…" message NOT justified text?

Support Home Page Forums Joomla Software Easy File Uploader Module How to display custom defined "Choose a file…" message NOT justified text?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #473
    Morrolan
    Participant

    Hi,

    For some reason, my “please choose a file to upload” message is being justified and stretched across the module position, rather than displaying left-aligned?

    Please can you advise me where I can fix this?

    Kind Regards,

    Morrolan

    #1754
    Michael Gilkes
    Keymaster

    @Morrolan. Thanks for posting. Could you email me a link so I can see the page that you are referring to? I don’t understand what is going on from your description, but if I can see it, I may be able to assist you. Also, please let me know which browser you are viewing the page with.

    #1755
    Michael Gilkes
    Keymaster

    @Morrolan. Thanks for providing the login information. I had a look at the site. Basically, it is a CSS issue. You can address it in several ways. Apparently the “text-align” property for the html label is defaulted to “justify” instead of “left“. You can inspect the CSS by right clicking on the text and selecting “Inspect Element”. It is similar to looking at javascript errors, except that you are looking at the DOM tree for the page and the related CSS.

    Anyways, to fix it, you have two options. You can add a block in your template’s CSS file similar to:

    Or, you could edit the default.php file in modules/mod_easyfileuploader/tmpl and go to line 19, and change “<label for” to “<label style=”text-align:left;” for

    There are your choices. Let me know how it works out.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How to display custom defined "Choose a file…" message NOT justified text?’ is closed to new replies.