✅How To Add Custom CSS or Javascript to a Page
Last updated
Last updated
Digably • Jul 21, 2023 17 steps • 2 minutes read
This guide will show you how to add custom CSS or Javascript to a page in Digably.
First, click on the "Pages" option in the left side menu.
Select the site you would like to add the custom code to.
First, we'll cover how to add custom CSS to the individual page. Click on "Page Setting" in the upper left of the page builder.
Select the "CSS" option in the left side menu.
Enter your custom CSS in the code editor section of the page. Keep in mind, you do not need to add the "style" tag before and after your CSS.
Toggle the switch in the upper right corner of your screen to make sure the custom CSS is enabled.
Save the changes by clicking on the "Save" button. This concludes the steps of how to add custom CSS. Now, let's look at how to add Javascript to your page.
Like before, click on "Page Setting" in the upper left.
Select the "Custom Code" option in the left side menu.
Choose a location to insert your Javascript. You may choose to place the code in the Header, after the opening "body" tag, or after the closing "body" tag.
Enter your Javascript in the code editor section of the page and enable it using the toggle in the upper right.
Save the changes by clicking on the "Save" button. This concludes the steps of how to add Javascript to an individual page. Now, let's look at how we can add Javascript to the entire site.
First, click "Site Setting" in the upper left. These settings will apply to the entire site.
Select the "Custom Code" option in the left side menu.
Choose a location to insert your Javascript as before, enable the script, and save.
This guide covered the process of adding custom CSS or Javascript to a page in the Digably application.