rejetto forum

Upload Form

Guest · 8 · 7098

0 Members and 1 Guest are viewing this topic.

Guest

  • Guest
 In looking through the 186 template I'm unable to
find the "Browse..." (depending on the browser) buttons for the upload form.
 I'd like to add style to these to match the rest of my template.
Can anyone help? An example of the code maybe?
Thanks


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
the browse button is embedded in the <input type='file'>
to be honest, i tried quickly to make any change to that button, and found no way.

about adding style, i can suggest you to read this comment in the default template
Quote
Thanks to the following line, you can customize the appearance of the original template by
right click on the root -> advanced -> diff template
then type [style.user] followed by all the CSS commands you want.
This way you will stay up to date while the original template improves.

i just noticed this trick doesn't apply to all the pages like the upload page, but just to those for browsing.
i will correct this in next build.


Guest

  • Guest
Thanks for the reply.
I assumed some of the template builders would have a solution?
I find <input name= but not <input type='file'>?
 I can apply style to the "Upload" button, just not the "Browse...."
Style applied to [upload-file] doesn't change the button.
I'm using my own version of the template and linking my remote css
to all sections that require it.
 I'll try to rewrite the [upload-file] section to specify the button for the form
and see what happens.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
search for type=file
and you will find it.

i hope someone will help you, but a solution may even not exist.


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
I do not think it is possible to change the style of the button in one of those fields.


Guest

  • Guest
By TSG
Quote
I do not think it is possible to change the style of the button in one of those fields.
I haven't had any luck, nor have my searches for examples.
Thanks everyone.


Offline mysoogal

  • Tireless poster
  • ****
    • Posts: 127
    • View Profile
Styling an input type="file"

http://www.quirksmode.org/dom/inputfile.html

it should work ,

120 days after ! reply posted


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile