XenForo Where is the code for the style of the default file upload button "Choose File"?

C

CStrategies

Guest
The
Code:

<xf:upload>
button appears on the site as a drab early 2000's gray and white button.

XUF2DM1Ntd.webp

In the template code, it looks like:
Code:

Code:
<xf:macro name="custom_dependent" arg-id="">
    <xf:upload name="upload" accept=".gif,.jpeg,.jpg,.jpe,.png" id="{$id}" />
</xf:macro>

The button does not appear in the rendered HTML, so there is no way to select it via CSS. One assumes it is created via JS, but I have run a text-string search for "Choose File" in every js, xml, and php...

Read more

Continue reading...