# Adding custom code

**URL:** <https://forum.bootstrapstudio.io/t/adding-custom-code/12679>\
**Category:** Bootstrap Studio Help\
**Created:** [March 4, 2026, 11:13pm UTC](https://forum.bootstrapstudio.io/t/adding-custom-code/12679 "2026-03-04T23:13:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bootron](https://forum.bootstrapstudio.io/letter_avatar_proxy/v4/letter/b/ba8739/32.png) [@Bootron](https://forum.bootstrapstudio.io/u/Bootron)\
**Post date:** [March 4, 2026, 11:13pm UTC](https://forum.bootstrapstudio.io/t/adding-custom-code/12679/1 "2026-03-04T23:13:44Z")

</div>

I am able to add the custom code e.g. [How To Create Range Sliders](https://www.w3schools.com/howto/howto_js_rangeslider.asp)

However, how would I add the CSS?

Thanks

---

<div class="post-metadata">

**Author:** ![Sune](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/sune/32/5352_2.png) [@Sune](https://forum.bootstrapstudio.io/u/Sune)\
**Post date:** [March 9, 2026, 12:15pm UTC](https://forum.bootstrapstudio.io/t/adding-custom-code/12679/2 "2026-03-09T12:15:13Z")

</div>

Hello.

I would think that inside your custom code element you can just add

`<style>`

`/*Your style here*/`

`</style>`

or directly in a BSS css file. Although the styles might only take effect when previewing the site…

Hope that helps!

---

<div class="post-metadata">

**Author:** ![kuligaposten](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/kuligaposten/32/1190_2.png) [@kuligaposten](https://forum.bootstrapstudio.io/u/kuligaposten)\
**Post date:** [March 9, 2026, 12:19pm UTC](https://forum.bootstrapstudio.io/t/adding-custom-code/12679/3 "2026-03-09T12:19:25Z")

</div>

you have a range input in the components panel, no need for custom code
