Advertisement

Required Field Asterisk

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
dreamstrue
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Sep 09, 2024 7:44 pm

Required Field Asterisk

Post by dreamstrue » Tue Sep 10, 2024 5:01 pm

I am looking to enlarge the red Asterisk that indicates a required field on forms on my site. Anyone no the code to do that and where to put it?

[ redacted ]
Last edited by toivo on Tue Sep 10, 2024 9:44 pm, edited 1 time in total.
Reason: mod note: manual email signature removed

Advertisement
gws
Joomla! Champion
Joomla! Champion
Posts: 6316
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Required Field Asterisk

Post by gws » Wed Sep 11, 2024 7:45 am

Which form?

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2860
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Required Field Asterisk

Post by ceford » Wed Sep 11, 2024 4:35 pm

Just looked at the star in the User: Edit form Name label. It is implemented like this:

Code: Select all

<span class="star" aria-hidden="true">&nbsp;*</span>
And it appears as a black star.

So you could use some CSS in a user.css file to change the appearance. You could make it red for example. As already said - you need to say in which form you see a red star.

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 5.x”