Rating

After inserting a block in Live Preview, you can configure the settings

Content

Rating

Rating type

There are 2 types of rating: Star and Heart

Number of items

The number of items displayed

Value type

  • Static: You can enter the value

  • Dynamic: You can select the value from Business Object

    • Field: It contains Business Object attributes

    • Index: The number of the row in the Business Objects Data table

  • The Business Object attributes in Field are selected Business Object in Template Setting

  • If Business Object in Template Setting does not be selected, a popup of Select Source will appear

Align

You can set the alignment of the rating (left, right, center)

Size

The size of the rating icon in PX

Border Color

The border color of the rating icon

BG before rating color

The background color of the icon before the rating

BG after rating color

The background color of the icon after the rating

Advanced

Container Styling

Style

  1. Solid: Applies a single color uniformly within the whole of an object by selecting the Background color

  2. Gradient: It applies a continuous blend of two or more colors, where one color gradually fades and changes into another. You can choose the Gradient Style:

    • Linear: Change the angle of the gradient

    • Radial: Change the positioning (right center, left top, left center, etc)

    • First color & first color location

    • Second color & second color location

Box Shadow

It allows you to add shadow effects around an element's frame by selecting a shadow style (None, Light, Custom)

Border

It allows you to specify the style, width, and color of an element's border

Rounded Corners

It allows you to define the radius of an element's corners

Spacing

  • Inner Spacing (Padding): Padding is inside the border (or edge) of your element. Increasing the padding will “push” your content into the middle of your box, away from your borders. If you remove the padding, your content will take up the entire box

  • Outer Spacing (Margin): Margin is on the outside of the border of your element. If you increase the margin, it will increase the space between this element and the ones next to it. If you remove your margin, there will be no extra space between your elements

Position

It allows you to adjust the position of elements in the block

Z-Index

  • The z-index property specifies the stack order of an element

  • An element with greater stack order is always in front of an element with a lower stack order

Custom ID attribute

The ID of a block, which is used in Custom CSS, Custom Javascript

Custom Class attribute

The class of a block, which is used in Custom CSS, Custom Javascript

Hover Styles

You can configure the Hover Styles by turning off the status of Default Hover Styles

a. Background

  1. Solid: Applies a single color uniformly within the whole of an object by selecting the Background color

  2. Gradient: It applies a continuous blend of two or more colors, where one color gradually fades and changes into another. You can choose the Gradient Style:

    • Linear: Change the angle of the gradient

    • Radial: Change the positioning (right center, left top, left center, etc)

    • First color & first color location

    • Second color & second color location

b. Box Shadow

It allows you to add shadow effects around an element's frame by selecting a shadow style (None, Light, Custom)

c. Border

It allows you to specify the style, width, and color of an element's border

d. Rounded Corners

It allows you to define the radius of an element's corners

e. Spacing

  • Inner Spacing (Padding): Padding is inside the border (or edge) of your element. Increasing the padding will “push” your content into the middle of your box, away from your borders. If you remove the padding, your content will take up the entire box

  • Outer Spacing (Margin): Margin is on the outside of the border of your element. If you increase the margin, it will increase the space between this element and the ones next to it. If you remove your margin, there will be no extra space between your elements

f. Position

It allows you to adjust the position of elements ịn block

g. Z-Index

  • The z-index property specifies the stack order of an element

  • An element with greater stack order is always in front of an element with a lower stack order

Display Condition

You can set the condition to display the rating

  • Condition: It includes None, Show when, Hidden when

  • Field: It contains Business Object attributes

  • Index: The stack order of an element

  • Operator: It includes contains, does not contain, starts with, doesn't start with, ends with, doesn't end with, etc.

  • Value: you can input the value or select an attribute from Business Object or Eve

  • The Business Object attributes in Field are selected Business Object in Template Setting

  • If Business Object in Template Setting does not be selected, a popup of Select Source will appear

Last updated