BuddyDev

Search

[Resolved] "Error" class

  • Participant
    Level: Initiated
    Posts: 14
    swati on #15752

    On registration page the error message is showing “required” for every empty input value of xprofile field, after sumit the form. Working fine…

    Instead of this message, I want to change the css style=”color:red;” of input empty field.

    So, This is buddypress issue or wordpress issue and How I can resolve this?

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #15759

    Hi Swati,
    It is coming from BuddyPress. You can use the following css

    
    div.error+input[type="text"] {
    
     background: red !important;
    }
    
    

    I am assuming your intention is showing red background of input. If it is not and you only need text color to be red, you can change background to ‘color’ property.

  • Participant
    Level: Initiated
    Posts: 14
    swati on #15772

    Thanks Brajesh Ji,
    solved…

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #15777

    You are welcome.

The topic ‘ [Resolved] "Error" class’ is closed to new replies.

This topic is: resolved