Topic: Tags don't seem to work

Stan Naspinski free asked 7 years ago

Pretty simple, tags are not working, for example:
<span class="tag tag-default">Default</span>
<span class="tag tag-primary">Primary</span>
Doesn't seem to have any styling, for example, upon inspection in Chrome, it looks as if the background color was never changed.

.tag-primary sets the background color, .tag sets the padding, corners etc. what is your version of Bootstrap?

Stan Naspinski free answered 7 years ago

Sure that sets a background color, but does not style it with the padding, shadows, corners that are shown here: I would really like to use what is advertised on this page.

You can use any color from our color palette instead. For example:
<span class="tag default-color">Default</span>
<span class="tag primar-color">Primary</span>

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.


Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No