can we change the colour of "Forgot your password?" in the cognito UI login page ?

1

I wanted to change the colour of "Forgot your password?" link and possibly edit the link text as "Forgot password ?" . Is it possible in user pool UI customisation option or is there any other alternative ways to do it. Please let me know!

2 réponses
0

To change color, try something like this, in the CSS stylesheet that you can upload to theme the login page:

a.redirect-customizable {
    color: red;
}

To replace the link, you can also do that in CSS:

/* set font size to 0 */
a.redirect-customizable {
  font-size: 0;
}

/* add text with the original font size */
a.redirect-customizable:after {
    content: 'Text of the link';
    font-size: 14px;
}

You can also combine both:

a.redirect-customizable:after {
    content: 'Text of the link';
    font-size: 14px;
    color: red;
}
jeremie
répondu il y a 2 ans
-2

Hi, thanks for reaching out with your question. Unfortunately, there is not a customization option for link color changing or modifying the text "forgot your password" on Cognito. This would be a feature request and you can keep track of new feature announcements through our What's New and Blog Pages for updates on potential new features being added. We don't have an ETA for if or when they'll implement the feature or not. You can create a custom UI to manage all your customizations on Cognito. Follow this link [1] for more details.

[1] - https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-app-ui-customization.html#cognito-user-pools-app-ui-customization-logo

What's New - https://aws.amazon.com/new/

Blog Page - https://aws.amazon.com/blogs/aws/

Let me know if you have any further questions.

répondu il y a 2 ans
AWS
INGÉNIEUR EN ASSISTANCE TECHNIQUE
vérifié il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions