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!

preguntada hace 2 años499 visualizaciones
2 Respuestas
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
respondido hace 2 años
-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.

respondido hace 2 años
AWS
INGENIERO DE SOPORTE
revisado hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas