Select a file Styling - Post ID 260623

User 2693187 Photo


Registered User
167 posts

Hi guys,
I need to use this for a form,

But need to edit the colours no file selected to white.
Also wondering if any easy way to change the button style.

As these buttons are currently sitting on a red background and quite hard to read.
Any advice would me muchly appreciated it.

Cheers,
-Adam
User 187934 Photo


Senior Advisor
20,271 posts

The No file selected is hard coded into the browser your using.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2693187 Photo


Registered User
167 posts

Hi Eric,

What I want to do is change the colour of the no files selected part to white. (currently a dark grey)

I've been told this can be done within the CSS - but not to sure which part!

Can anyone help?

-A.

User 187934 Photo


Senior Advisor
20,271 posts

Find out what the id of your input is.
It's probably something like
item1_file_1
Add a css override to your form.
<style>
#docContainer #item1_file_1{
color:#000FFF;
}
</style>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.