Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8808657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:40:45+00:00 2026-06-14T02:40:45+00:00

I am trying to get the bootstrap popover to work on a website and

  • 0

I am trying to get the bootstrap popover to work on a website and I have been somewhat successful. I can get the popover to show up when the link is clicked however I don’t see any content in the box except for the title. I have tried it 2 ways:

<a class="btn btn-link login-popover" rel="popover" data-placement="bottom" data-title="Sign in to the website builder" data-html="true" data-content="Lo4545445"> Sign in  <span class="caret"></span></a>

and

$('.login-popover').popover({
    placement: 'bottom',
    title: 'Sign in to the website builder',
    content: 'testing 123',
    trigger: 'click'
});

However neither one actually shows the content in the box. You can see what I mean by going to http://www.onemobi.net/new and clicking Sign in at the top.

Edit: I’m not doing both of these at the same time. I tried one and then the other.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T02:40:46+00:00Added an answer on June 14, 2026 at 2:40 am

    You must place the code in a function

    $(document).ready(function() {
      $('.login-popover').popover({
        placement: 'bottom',
        title: 'Sign in to the website builder',
        content: 'testing 123',
        trigger: 'click'
      });
    });
    

    or

    $(function () { 
       $(".login-popover").popover();    
    });
    

    then it works. But why are you defining the popover settings twice (both in script and as data attributes)?

    Eureka!

    It seems that you have changed the default styling in bootstrap.css. The content of the popover IS actually shown, in a <p>, but you have

    .btn-group {
      font-size: 0;
      white-space: nowrap;
    }
    

    obvious, by changing font-size: 0; the content will be visible (tested in chrome inspector) Add to your CSS

    .btn-group {
      font-size: 12px; /*or whatever size */
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to get Twitter Bootstrap btn-group with dropdown to work for
I'm trying to get twitter bootstrap's .popover working within a .submit jquery event but
I can't get javascript to work with Twitter's Bootstrap. I've got this <p> <a
I have been trying to build c++ boost to work with qt creator but
I am trying to get bootstrap datepicker to work but it does not even
I am trying to get a simple bootstrap's modal sample to work, I follow
I'm trying to get this exact example working on my website: http://getbootstrap.com/2.3.2/javascript.html#buttons However, simply
I am trying to get bootstrap's rows to work inside of a hero-unit. I
I'm trying to get the twitter on page tabbed content to work. I have
I have been trying to get JQuery Sortable working on my Zend Framework application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.