Styling Guide.

Everything about the look of ModeFilter Pro can be set in the Visual Filter Builder. Nothing needs custom CSS. A setting you leave empty keeps the template’s design.

Global and local styles

  • Global: applies to every filter (Filter colors and type).
  • Local: select a filter, then open Style this filter. Local settings win over global ones.

Filter style options

OptionAttribute (global)Local key
Backgroundfs_bgbg
Text colorfs_texttext
Title colorfs_titletitle
Border colorfs_borderborder
Option background, text, borderfs_chip_bg, fs_chip_text, fs_chip_borderchip_bg, chip_text, chip_border
Selected background and textfs_sel_bg, fs_sel_textsel_bg, sel_text
Show more button: background, text, borderfs_more_bg, fs_more_text, fs_more_bordermore_bg, more_text, more_border
Fontfs_fontfont
Text size, title size (px)fs_size, fs_title_sizesize, title_size
Text weightfs_weightweight
Corner radius, padding (px)fs_radius, fs_padradius, pad

Local values go in one attribute, written as filter.key=value and separated by semicolons:

[modep_filters fs_sel_bg="#0f1b2d" filter_styles="categories.bg=#f4f2ec;pa_color.sel_bg=#d9ff43"]

Filter panel

panel_bg, panel_border, panel_radius, panel_pad, box_gap (space between filters), toggle_bg and toggle_text (the Filters button on small screens).

Product grid

OptionAttribute
Grid background, space between cardsg_bg, g_gap
Card background, text, border colorg_card_bg, g_card_text, g_card_border
Border width, corners, paddingg_border_w, g_radius, g_pad
Shadow: none, soft, medium, strongg_shadow
Image shape: square, portrait, tall, wideg_ratio
Hover: none, zoomg_hover
Text alignment: left, center, rightg_align
Card fontg_font
Title color, size, weightg_title_color, g_title_size, g_title_weight
Price color, size, weightg_price_color, g_price_size, g_price_weight
Button background, text, cornersg_btn_bg, g_btn_text, g_btn_radius

Pagination

Choose the type with pagination: load_more, numbers, infinite or none.

OptionAttribute
Placement: left, center, rightpg_align
Button size: auto, block (full width), fixedpg_size, pg_width (px, for fixed)
Distance from grid, space below, gap between buttonspg_top, pg_bottom, pg_gap
Button background, text, borderpg_bg, pg_text, pg_border
Active page background and textpg_active_bg, pg_active_text
Corners, font, text size, weightpg_radius, pg_font, pg_fsize, pg_weight
Padding (vertical, horizontal)pg_pad_y, pg_pad_x

Fonts are chosen from a safe list: system, serif, mono, rounded, display. Leave empty to inherit your theme font.

Accepted values

  • Colours: hex codes such as #1a2b3c, or transparent.
  • Sizes: whole numbers in pixels. Out-of-range numbers are adjusted to the nearest allowed value.
  • Invalid values are ignored, so a typo can never break your page.
Why !important? Style choices you set explicitly are written so that theme styles cannot undo them. Choices you leave empty never add any CSS.