Bootstrap styles not working


#1

Hi Everyone!

I’ve been trying to get Bootstrap styles working inside custom HTML elements without success.
Does this look like it should be right?

I’ve added Bootstrap CSS and JS to the document and I do know it’s linking correctly because, strangely, Bootstrap buttons work fine using this same technique.

Any ideas what I might be doing wrong?

Thanks!


#2

Your code is correct, but you’ll need to uncheck ‘Protect from external styles’ in the Document inspector to get around Hype’s CSS firewall :fire:

(We don’t protect against <button> styles which is why those likely worked)


#3

Perfect, it works!!!
Thanks so much, Daniel :slight_smile:


#4

This is a good tip. Thanks.