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개 답변
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
답변함 2년 전
-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.

답변함 2년 전
AWS
지원 엔지니어
검토됨 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠