Skip to main content

Search

These styles define the look and feel of the search popup

Common​

AttributeTypeDefaultDescription
search.width
integer500Popup width

In pixels

search.exactmatch
booleanfalseSearch for exact matches
search.fullwords
booleanfalseSearch for full words

Result item​

Thumbnail​

AttributeTypeDefaultDescription
search.items.thumbnail.size
integer75Thumbnail width

In pixels. The height of the thumbnail will be calculated according to the publication aspect ratio.

Page number​

info

Inherits from popups.text

AttributeTypeDefaultDescription
search.items.title.font
selectText font
search.items.title.size
integer0Text size
search.items.title.color
colorText color
search.items.title.alpha
percent0Text opacity
search.items.title.bold
booleantrueUse bold text
search.items.title.italic
booleanfalseUse italic text

Result snippet​

info

Inherits from popups.text

AttributeTypeDefaultDescription
search.items.text.font
selectText font
search.items.text.size
integer0Text size
search.items.text.color
colorDescription color
search.items.text.alpha
percent0.5Text opacity
search.items.text.bold
booleanfalseUse bold text
search.items.text.italic
booleanfalseUse italic text

Highlighting​

AttributeTypeDefaultDescription
search.items.highlight.background.radius
integer2Corner radius

In pixels

search.items.highlight.background.color
color0xFFFF00Background color
search.items.highlight.background.alpha
percent1Background opacity

Text​

AttributeTypeDefaultDescription
search.items.highlight.text.color
color0x000000Text color for highlighting the search query in the result snippet
search.items.highlight.text.bold
booleanfalseFont bold
search.items.highlight.text.italic
booleanfalseFont italic
search.items.highlight.text.underline
booleanfalseFont underline