1 min read
Part 17: Add rating component
Navigate to the knowledge article page and Add container for rating section
- Open on knowledge article page from UI Builder.
- From the Content section, After the Knowledge Content 1 Component.
- Click (+) to add a component to the container.
- In the search box, type Container and select Add.
- Keep the default layout
Add Label and Rating component to this container
- Change the default Container main section from Column to Row from the component properties section (We are doing this as we want our label and rating component)
- Click (+) to add a component to the container.
- In the search box, type Stylized text and add.
- Text – Rate
- HTML Tag – H2
- Add rating component besides the Stylized text
- In the search box, type Rating and add a Star rating.
- Size – Large
- Add the following style
* { margin: 1.5rem 0rem 0rem 1rem; }
Great!! We have successfully added the rating component to the Knowledge article page.