registration and contact forms have black asterisks. very annoying.
registration and contact forms have black asterisks. very annoying.
Not a bug.
Those are symbols denoting "required field". You can remove the asterisk via the language file.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
in your css:
Code:::placeholder { color: #FF0000; }
https://developer.mozilla.org/en-US/.../::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.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
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.
Have you even tried adding the css as carlwhat suggested?
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
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.
Last edited by pixelpadre; 3 Aug 2021 at 01:41 PM.
Bookmarks