Skip to main content

Advanced Selectors

Advanced Selectors for Specific Targeting

Advanced Selectors for Specific Targeting

Highlight and Share supports custom selectors, whether you use a page builder or a non-default editor.

Custom selectors are handy when you are using a page builder and the content is not within the normal content loop.

In general, you shouldn't have to choose a selector unless directed to do so by support or a developer.

CSS Class Selectors​

Input any CSS classes (with or without the dots and comma-separated).

Highlight and Share will search for these classes and be enabled for any text within them.

An example would be enabling Highlight and Share for widget areas.

CSS ID Selectors​

Input any CSS IDs (with or without the # sign and comma-separated).

Highlight and Share will search for these IDs and will be enabled for any text within the CSS ID.

HTML Elements​

Input any HTML elements (e.g., section, main).

Highlight and Share will search for these elements and be enabled for any text within them.

Post Wrapper Classes​

Add any additional CSS classes when Highlight and Share successfully wraps the content. You can use this for advanced CSS targeting.