The selectors are patterns for selecting elements that you want to work with. wpStickies works on images inserted with the WP post/page editor automatically. This also achieved with selectors. Specifying a new selector will allow you to apply wpStickies on your custom images or even DIVs with background. You can also use selectors to prevent wpStickies applying on your images you don't want to.
To understand how the selectors works, you need some web development experience,
especially with the HTML DOM structure. The most basic selectors are using namespaces,
the HTML element names. For example, in HTML, you can insert an image with the <img>
element. In selectors, you can use the "img" selector to apply wpStickies on every
images. You can reference elements with a specific class name with a dot at the beginning
of your selector. For example: ".wpstickies". To reference an element with an ID, you can
use the hash mark: "#customid". These are the basics of the selectors.
You can pile up these selectors for more accourate results. For example, if you want to
apply wpStickies images which inside elements with class name "entry", you can use the following:
".entry img". If you have a main content area which holds all of this and has an ID "content", you can
extend your selectors for more accourate results: "#content .entry img".
We are using the selector engine of jQuery, so you can find all the available selectors on this page.
Of course, you can do this with selectors. jQuery supports a very special selector for this, you can find all the details here.
That's okay, this documentation made for users with some web development experience. If you have any questions or you want to modify the behaviour of wpStickis which involves selectors, you can send us an email message by clicking here and we will answer your question as soon as possible.