Is there a way to add a class or ID to a bootstrap popover?
Now, whenever I get a popover, it has the generic class popover
, so I cannot style it individually.
<a href="#;" class="hover-dropdown" data-placement="bottom"
data-toggle="popover" data-html="true" data-content="hello">Hello</a>
How would I give the popup this creates a class or ID?
Is there a way to add a class or ID to a bootstrap popover?
Now, whenever I get a popover, it has the generic class popover
, so I cannot style it individually.
<a href="#;" class="hover-dropdown" data-placement="bottom"
data-toggle="popover" data-html="true" data-content="hello">Hello</a>
How would I give the popup this creates a class or ID?
Share Improve this question asked Oct 26, 2014 at 20:17 David542David542 111k206 gold badges569 silver badges1k bronze badges1 Answer
Reset to default 4You can use a template https://stackoverflow./a/14867792/20126 or use the .popover selector to get the popover and add an id to it