How to change the color of a Bootstrap popover in JavaScript
javascript, jquery, twitter-bootstrap
Solution
You can do this with CSS by using the `.popover`, `.popover-title`, and `.popover-content` classes.
.popover-title{
background: #ffff99;
}
Problem
I have this JS code to bring up a popover: ``` $('a').popover({content: 'Popover text', title: 'Popover'}); $('a').popover('show'); ``` I would like to change the attributes, for example, I would like the color of the popover to be a light yellow. Is there a way I can do this in the JS code itself? Perhaps in the template option?