Icon colour change - pricing table

Hi there,

I was wondering what I would need to add to the following code from the classing pricing table to change the colour of the icon (but not the text)?

[cs_icon_list_item type=“check”]text[/cs_icon_list_item]

Thanks

Hi there,

You can add a class attribute to the shortcode then use the class name to target and change the icon’s color through CSS.

The shortcode should be something like:

[cs_icon_list_item class="icon-white" type="check"]First Feature[/cs_icon_list_item]

Since the class added to the shortcode is icon-white, then the CSS should be:

.icon-white i {
    color: #fff;
}

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.