Skip to content

Commit f7bfef3

Browse files
Merge pull request #312605 from bernawy/patch-71
Update date and add Bootstrap dependency notice
2 parents 9cafd4e + 6cd19be commit f7bfef3

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

articles/active-directory-b2c/customize-ui-with-html.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: kengaderdus
66
manager: CelesteDG
77
ms.service: azure-active-directory
88
ms.topic: how-to
9-
ms.date: 02/17/2025
9+
ms.date: 03/04/2026
1010
ms.author: kengaderdus
1111
ms.subservice: b2c
1212
zone_pivot_groups: b2c-policy-type
@@ -440,6 +440,34 @@ To use the sample:
440440
1. Now modify the policy, pointing to your HTML file, as mentioned previously.
441441
1. If you see missing fonts, images, or CSS, check your references in the extensions policy and the `\*.html` files.
442442

443+
444+
### Bootstrap dependency in sample templates
445+
446+
The [sample templates](https://github.com/azure-ad-b2c/html-templates) use **Bootstrap 3.3.5**, sourced from the official Bootstrap CDN. This version has been validated and tested with Azure AD B2C.
447+
448+
The templates reference the following CDN URL for Bootstrap CSS:
449+
450+
```
451+
https://cdn.jsdelivr.net/npm/bootstrap@3.3.5/dist/css/bootstrap.min.css
452+
```
453+
454+
The default configuration in the template HTML files includes a link element similar to the following example:
455+
456+
```xml
457+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.5/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
458+
```
459+
460+
For the official Bootstrap 3.3.5 download and CDN details, see [Bootstrap 3.3 Getting Started](https://getbootstrap.com/docs/3.3/getting-started/#download-cdn).
461+
462+
#### Replace the CDN reference
463+
464+
You can replace the CDN reference with your organization's internal CDN or a locally hosted copy to meet reliability, security, or compliance requirements.
465+
466+
> [!IMPORTANT]
467+
> The templates are validated specifically against Bootstrap 3.3.5. Upgrading, downgrading, or otherwise modifying the Bootstrap version might introduce styling, layout, or component compatibility issues.
468+
469+
If you change the Bootstrap version, you're responsible for completing regression testing to validate that your customized templates work correctly with Azure AD B2C. Retain the validated version unless you've completed appropriate testing.
470+
443471
## Use company branding assets in custom HTML
444472

445473
To use [company branding](customize-ui.md#configure-company-branding) assets in a custom HTML, add the following tags outside the `<div id="api">` tag. The image source is replaced with that of the background image and banner logo.

0 commit comments

Comments
 (0)