LLMS_Theme_Support::get_selectors_primary_color_text()

Retrieve a list of CSS selectors for elements where the primary color is used as the text color


Description Description

The primary color is a bright blue (#2295ff).


Top ↑

Return Return

(string[]) A list of CSS selectors.


Top ↑

Source Source

File: includes/theme-support/class-llms-theme-support.php

	public static function get_selectors_primary_color_text() {

		/**
		 * Filter the list of CSS selectors for elements where the primary color is used as the text color
		 *
		 * @since 4.10.0
		 *
		 * @param string[] $selectors A list of CSS selectors.
		 */
		return apply_filters(
			'llms_theme_support_get_selectors_primary_color_background',
			array(

				// Pricing Tables.
				'.llms-access-plan-restrictions a',
				'.llms-access-plan-restrictions a:hover',

				// Loop.
				'.llms-loop-item-content .llms-loop-title:hover',

				// Donuts.
				'.llms-donut',

				// Checks on Syllabus.
				'.llms-lesson-preview.is-free .llms-lesson-complete',
				'.llms-lesson-preview.is-complete .llms-lesson-complete',
			)
		);

	}


Top ↑

Changelog Changelog

Changelog
Version Description
4.10.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.