css - Styling Bootstrap 3 Popovers -


Here the relevant code is relevant to the sample.

Hover your mouse over the road icon to the right Fiz menu, and you will see a popover that is how narrow the popover is? I want to:

  • Enlarge popover; And
  • Write different colors of the popover, say:
    • Green background in the "Header" section of the popover (" Instructions: ")
    • According to the red background (main text)

in the "body" section of the popover, I can widen the popover through it :

  $ ('[data-toggle = "popover"]'). PopOver ({container: 'body'});  

And that's exactly what I did (see JS in JSFDL), but it does not work clearly. And I can not find anything to style the color of a popover, any thoughts?

You can apply some CSS in the class for popover to get this result.

In the basics you provided, you can get the desired effect for the 'signin' element with the following lines:

  .signin Popover {min-width: 300px; } .signin .popover-title {background-color: green; } .signin .popover-content {background-color: red; }  

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -