Hi,
From the case I understand that you when you upload a new CSS file you see that the hosted UI does not use the new CSS. Please let me know if I misunderstood the issue.
The likely issue in this case is that your app client is using client-level settings for CSS and you are uploading the new CSS file to the app client default hosted UI customization. I am attaching the following documentation that goes over specifying app UI customization settings here (1). Once you locate the app client settings for the app client that you wish to modify you can check to see if the hosted UI customization is using default settings or if it is using client-level settings. If the app client is using client-level settings then you would have to edit the CSS in the app client similar to how it is done in steps 5-8 in the documentation. Editing the app client default settings for the Hosted UI as is done in step 4 would not edit the CSS for app clients that use client-level settings rather than default settings.
If you have any follow-up questions I would be more than happy to answer them. I hope you have a great rest of your day!
References
Brilliant, I had forgotten about client-specific customization. Will take a look, thank you!
Relevant questions
Disable hosted UI
asked 4 years agoHow to translate Cognito Hosted UI Forms?
asked 5 months agoCSS file does not affect my HTML
asked 4 months agoCognito Hosted UI customization not updating
asked 7 months agoSetup TOTP screen for Hosted UI
asked 5 months agoCognito Hosted UI to Custom UI
Accepted Answerasked 2 years agoCognito Hosted UI user email verification (using valid verification code) failed (according to UI) but user is confirmed.
asked 7 months agoIs there any way to display a "Confirm Password" field in the Cognito hosted UI?
asked 7 months agoAmazon Cognito hosted UI password reset code message
Accepted Answerasked 8 months agoCognito Hosted UI Not Always Returning "event_id" with ID + Access Token
asked 6 months ago