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 Answers
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
answered 2 years ago
-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.

answered 2 years ago
AWS
SUPPORT ENGINEER
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions