You can add custom code to your Website Builder site by adding code to a text-based item. You can add HTML, Embed codes, CSS, and Javascript. You can also add HTML to your site header using PRO Settings.
Jump to:
Add code using the Custom Widget
- From your Manage Site page, click Edit site or Site Design.
/msdyn_blobfile/$value)
- Navigate to the page on which you wish to add your code.
- Click inside or outside of any element then mouse over the : icon.
/msdyn_blobfile/$value)
- Click the Add Element icon.
/msdyn_blobfile/$value)
- In the Add a new element to item dialog, select Widget. Note: You can only add one widget per section.
/msdyn_blobfile/$value)
- Select the Custom widget. Note: By default, Website Builder will add the widget to the bottom center of a section. You can rearrange the layout, but won't be able to click and drag the widget to a different location.
/msdyn_blobfile/$value)
- Click into the new inline widget.
/msdyn_blobfile/$value)
- Click Edit Widget.
/msdyn_blobfile/$value)
- Click Code.
/msdyn_blobfile/$value)
- Under Code, delete the default code which appears in the Code field, then add your own code. Note: To paste code, use Ctrl + v (Windows) or Command + v (Mac). Learn more.
/msdyn_blobfile/$value)
- Click the SAVE button.
/msdyn_blobfile/$value)
- Publish when ready.
/msdyn_blobfile/$value)
Add header code using PRO Settings
- From your Manage Site page, click Edit site or Site Design.
/msdyn_blobfile/$value)
- Click the hamburger menu on the left.
/msdyn_blobfile/$value)
- Select Head Code.
/msdyn_blobfile/$value)
- In the Site header code field, enter your HTML code then click the Save button. Note: To paste code, use Ctrl + v (Windows) or Command + v (Mac). Learn more.
/msdyn_blobfile/$value)
- Publish when ready.
/msdyn_blobfile/$value)
Note: We are unable to provide assistance with HTML coding or debugging. If you need more information on HTML, check out the resources listed on the Beginner's HTML Guides page or the HTML Guides and Tutorials listings. You can also find more information about HTML at sites like W3 Schools.