Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Additional Options -> Attach: text color change ?

Aloittaja Jarppi, tammikuu 24, 2009, 01:25:31 IP

« edellinen - seuraava »

Jarppi

Hi,

How to change text font that it affect's only to this text box ?



I'm using theme (Black Rain) that text fonts are white and it causes problem that attachment path text is not visible in this box.
Any ideas ?

SMF version 1.1.7

shadow82x

In ../Themes/BlackRainV2/style.css you can customize

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button{background:#333; border:1px solid #000; color:#FFF; font-family:verdana,sans-serif; font-size:90%}


In that box you notice "color:#FFF;" you can change that to a hex color value you wish to have.
Colin B
Former Spammer, Customize, & Support Team Member

Jarppi

Hi,

thanks, but it changed also Subject text and background for that is black, so that´s not work well :)
Its like this now:
/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
background: #333333;
border: 1px solid #000000;
color: white;
font-family: verdana, helvetica, sans-serif;
font-size: 10px;
}

shadow82x

I'm a bit confused with what you trying to get at. You can always change the background: #333333; if it doesn't match the white color text.
Colin B
Former Spammer, Customize, & Support Team Member

Jarppi

If change is done here:
/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
background: #333333;
border: 1px solid #000000;
color: white;
font-family: verdana, helvetica, sans-serif;
font-size: 10px;
}


Change affects also to subject input box and I want to keep it like this:


And only do change to attach text box font color:


Somehow attach text box background color is all the time white ???

shadow82x

#5
This is actually a weird situation to style the attachment box.

Below the input comment in style.css
Add
input[type="file"]
{
       color: red;
}

You can change the text color to what you want.
Colin B
Former Spammer, Customize, & Support Team Member

Jarppi

KIITOS !!!  (=thanks in Finnish)

That helped, now attach: text box input font can be changed what ever I want.

shadow82x

Colin B
Former Spammer, Customize, & Support Team Member

Advertisement: