CMS Development

dobradovic
Contributor

Bootstrap

SOLVE

Where should I load my bootstrap - cdns? 

 

I wanna make modal tabs with bootstrap.

 

Thanks for your time! 🙂

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Bootstrap

SOLVE

@dobradovic 

Ok, cool 😀

A few options

If you are using it in just one module, you could load it in the html/hubl section of the module.  this way, it will only be called when it is needed for that module. 

If you plan on using it throughout the site, I would recommend adding it in the portal settings for pages. (there is a section for (see screenshot)

If you are building a theme, I would add to the header file that you would be including in all of your pages

Hope this helps!

 

Settings_and_HubSpot_Community_-_Re__Bootstrap_-_HubSpot_Community.png

 

 

View solution in original post

3 Replies 3
dennisedson
HubSpot Product Team
HubSpot Product Team

Bootstrap

SOLVE

Hi @dobradovic 

Are you asking where you should load your bootstrap in the CMS or what CDN you should use to pull in bootstrap?

dobradovic
Contributor

Bootstrap

SOLVE

Hi @dennisedson, my question is where shoud I load my bootstrap in the CMS? 🙂

 

Tnx

0 Upvotes
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Bootstrap

SOLVE

@dobradovic 

Ok, cool 😀

A few options

If you are using it in just one module, you could load it in the html/hubl section of the module.  this way, it will only be called when it is needed for that module. 

If you plan on using it throughout the site, I would recommend adding it in the portal settings for pages. (there is a section for (see screenshot)

If you are building a theme, I would add to the header file that you would be including in all of your pages

Hope this helps!

 

Settings_and_HubSpot_Community_-_Re__Bootstrap_-_HubSpot_Community.png