1. Home
  2. Docs
  3. Tags Add-on
  4. Styling with CSS

Styling with CSS

The BF_Tags_HTML custom function takes an optional CSS parameter. If you would like to change the styling of the widget, you can create your own css and pass it in there.

These are the classes used in the widget

ClassWhere it is used
Bodythe main body of the web viewer
.tagsinputthe div surrounding the entire functional part of the widget
.tagthe div that surrounds the tag label and the remove button if it is displayed
.tag .removethe styling of the remove button
.formthe styling of the div surrounding the tag entry field
.form .forminputthe styling of the tag entry field itself
.form ::placeholderthe styling of the placeholder text in the tag entry field

The easiest way to make your own custom css is to duplicate the BF_Tags_CSS custom function and simply edit the css found there.

Was this article helpful to you? Yes No

How can we help?