i want to change the red * after the " Username: Password: " in the user login block, i know it must override something ,but i can't local the original output of it.who can tell me how to change the singal. any tips would be appreciated!

Comments

israelshmueli’s picture

Origin of red * after the " Username:....
is system.css . You can find it in system module folder at modules folder .

Than you have 2 options
1. copy the file into your theme folder (add it to your theme .info file in the same other css files registered there. dont forget to clear cache ). Now go and edit it your way.

2. copy specific css rule from system.css:

Maybe this one:

.marker, .form-required {
color:#FF0000;
}

into another css file inside your theme . The file you use to add your own styles.

In case you are not using Firebug (firefox extension) you should start using it. It will answer a lot of your css questions.

runeveryday’s picture

thanks for you answer,but if i want to delete the marker,how i should do ? i know user style white can hide it but i don't want to do it like this.

mooffie’s picture

You could use the style 'display: none'.

(In Drupal 7 the marker can be easily themed. In Drupal 6 this isn't as easy because the HTML for the marker is generated inside a bigger theme function (theme_form_element).)