[Not a bug] black asterisiks form placeholder
registration and contact forms have black asterisks. very annoying.
Re: black asterisiks form placeholder
Not a bug.
Those are symbols denoting "required field". You can remove the asterisk via the language file.
Re: black asterisiks form placeholder
Quote:
Originally Posted by
DrByte
Not a bug.
Those are symbols denoting "required field". You can remove the asterisk via the language file.
I wanted RED just like the RED text outside of the form fields. * Required Field
But then in the form field there a grayish barely visible *
Follow?
Re: black asterisiks form placeholder
in your css:
Code:
::placeholder {
color: #FF0000;
}
https://developer.mozilla.org/en-US/.../::placeholder
Re: black asterisiks form placeholder
Quote:
Originally Posted by
carlwhat
in your css:
Code:
::placeholder {
color: #FF0000;
}
Could not find that. But did find this in english.php
Code:
define('FORM_REQUIRED_INFORMATION', '* Required information');
define('ENTRY_REQUIRED_SYMBOL', '*'); where is the color strribute?
define('TEXT_FIELD_REQUIRED', ' <span class="alert">*</span>');
Re: black asterisiks form placeholder
The HTML placeholder attribute is only styled/colored via CSS.
If you want to remove the placeholder and put text outside of the field, be aware that it will require more screen space so you will need to address layouts for mobile screen sizes. You can put the text outside by manually editing the template and reworking all of those form fields.
The move to using the modern placeholder approach was done a few versions back. You could use some much older templates as a reference for how to put the "field is required" text outside the field, but will have to work on styling it yourself because there wasn't much in those older templates for styling it for mobile devices at that time.
2 Attachment(s)
Re: black asterisiks form placeholder
Quote:
Originally Posted by
DrByte
The HTML placeholder attribute is only styled/colored via CSS.
If you want to remove the placeholder and put text outside of the field, be aware that it will require more screen space so you will need to address layouts for mobile screen sizes. You can put the text outside by manually editing the template and reworking all of those form fields.
The move to using the modern placeholder approach was done a few versions back. You could use some much older templates as a reference for how to put the "field is required" text outside the field, but will have to work on styling it yourself because there wasn't much in those older templates for styling it for mobile devices at that time.
Im not interested in relocating anything. All I want is the placeholder color to match the red footnote. Using a red footnote reminder to reference something that is a different color, say green for the sake of argument, makes no sense. Either make them both black or both red. But have them two different colors makes no sense. At least make the placeholder bold black instead of a light gray.
Attachment 19697
Attachment 19698
Re: [Not a bug] black asterisiks form placeholder
Have you even tried adding the css as carlwhat suggested?
Re: [Not a bug] black asterisiks form placeholder
Quote:
Originally Posted by
dbltoe
Have you even tried adding the css as carlwhat suggested?
He did not suggest adding it. He showed a string that I searched for in all of the css files, to adjust the color.
So if he is suggesting that I add this, it would have been more useful if he said so, and also which css file.
Re: [Not a bug] black asterisiks form placeholder
Ideally, a red asterisk near the field name (see UPS photo above) would be more intuitive to the user than a tiny gray placeholder. On my screen, its so small that it looks more like a booger than a character.