Page 1 of 1

Attach Mod Help Please

Posted: Wed Jan 03, 2007 11:20 am
by xxdobermanxx
Heya,

Using the latest (for .21). No mods on site, only an Ad Infinitum template. I used the pre-modded files.
Please take a look at the following screenshot of my problem.
http://www.crazy-devil.com/forums/attach-mod.jpg

Everything else seems to be working fine, except for the Browse button (it appears that field is too small), as well as the writing on the buttons below.

Someone on phpbb.com forums pointed me here, and recommended I try your Nosebleed files for Attach Mod....the result is:

http://www.crazy-devil.com/forums/new.jpg

Now the attachment section is white, and you are barely able to read the name of the file and other information, as well as the Browse button section is still too small.
Can you point me in the right direction as to which file(s) need to be changed to correct these problems?




Thank you.

Posted: Wed Jan 03, 2007 11:32 am
by DavidIQ
The idea Brf had was not for you to use the NoseBleed template files from here but to follow a suggestion that had been made before to change the class for the file browse button in add_attachment_body.tpl to:

Code: Select all

<input type="file" name="fileupload" maxlength="{FILESIZE}" value="" class="button" />

Posted: Wed Jan 03, 2007 11:46 am
by xxdobermanxx
ahh, sorry for the confusion.

that worked like a charm, thank you much.

One more quick question please.

How do I change the font color inside the attachment box? Where is that held?

For reference, I am talking about the top picture here: http://www.crazy-devil.com/forums/new.jpg

For instance, I want the filename along with the filesize/downloaded X amount of times to be black.

Thank you again!

Posted: Wed Jan 03, 2007 11:59 am
by DavidIQ
Just need to play around with viewtopic_attach_body.tpl though I'm sure Mike probably used CSS for that on all his templates.