gotrls_default_mergetag_styling

Updated 14 September 2026

On this page

Description

Changes the inline styles of the {live_summary} merge tag output. The array is nested per element: table, ul, order-table and their parts. See Summary Mergetag for an example that changes the colours.

Parameters

$styles | Array. The styles per element and part

Return

Array

Usage

Copy the below code to the functions.php of your child theme or to your snippet plugin.

<?php
add_filter( "gotrls_default_mergetag_styling", function( $styles ) {
    $styles['table']['tbody']['td']['label']['background-color'] = '#CCCCCC';
    $styles['table']['tbody']['td']['label']['font-weight']      = 'bold';
    return $styles;
} );

Since

version 2.0.0

Didn’t find what you were looking for?

Or contact support and I will help you out.

Scroll to Top