Adding Stylesheet to Custom Page
- Add the S3 link to your CSS file in your HTML template.
<link rel="stylesheet" href="https://s3.amazonaws.com/[BUCKET]/[FILE].css">
Navigate to the CSS file you uploaded to S3 and click on the properties tab in the S3 object details page.
Click on the Metadata section.
Notice how the Key/Value pair is set to “Content-Type”: “binary/octet-stream”. To get the CSS file to display correctly the value to be changed to “text/css”.
Save the MetaData and refresh your custom page and now you should see you defined styles.