RSS Feed/News Where is the code for the style of the default file upload button "Choose File"?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,811
Points
823

Reputation:

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...
 
Status
Not open for further replies.
Top