Notifications
Clear all

[Closed] How to use the "Custom Selector" option

1 Posts
1 Users
0 Reactions
2,385 Views
Astghik
Posts: 6149
Admin
Topic starter
(@astgh)
Illustrious Member
Joined: 7 years ago

The "Custom Selector" option allows you to highlight a specific section, outside of the comment section, e.g. in the post/page content.

Let's consider an example. 

1. We filled in the .test class in the "Custom Selector" field

2021 08 13 15 29 41

2. Somewhere on the page/page content we've added the code with the .test class

image

3. As a result, it'll be automatically highlighted:

image

Important: the class can be applied only on the <code> and <pre> tags. 

Share:
Scroll to top