This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: Bootstrap Tooltips?

#809
Jason Bobich
Keymaster

Hello Karlo,

Keep in mind that the theme framework doesn’t really do anything with implementing Bootstrap (as far as JavaScript goes) other than simply including the components for you.

So, as you pointed out, you’d need to actually run the tooltip jQuery function and attach it to whatever selector you want from your Child theme’s jQuery. If you’re using any of the “sample” child themes, this is all kind of setup for you already with JavaScript file in place and jQuery document .ready() already called.

As far as actually implementing the tooltip function, it’s not something I’ve played with, but I guess I’m not really seeing the dilemma? Or maybe I’m just misunderstanding you? — You could make your selector anything you want. You could make it a class attached to your anchor or whatever.

But yeah, I’d say because it’s not activated by default is one of the reasons why I didn’t make any kind of shortcode for it, and I didn’t want to overdo it. When I was going through creating shortcodes, I was trying to pick out things from Bootstrap that were simple and wouldn’t have too many options. The more of extra things I put in by default, I have to make sure they work when I make a new theme, as well. That’s been a real obstacle now creating new themes, trying to accomodate the immense amount of features the framework offers with every theme.