# Advanced Selectors

<figure><img src="/files/MdqCXn1JIWcxpGmD2vFb" alt=""><figcaption><p>Advanced Selectors for Specific Targeting</p></figcaption></figure>

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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dlxplugins.com/highlight-and-share/content-sharing/advanced-selectors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
