Skip to content

How to Style the Keywords Box and Loader

The plugin puts two of its own screens in front of shoppers: a loader while the photo is read, and a keywords box above the results. Both are styled from one tab.

Go to DevDiggers Plugins → Product Search By Image AI → Configuration → Display.

The Display tab with its six settings

Keywords Heading is the line above the chips, and it replaces the page title on that search.

The Keywords Heading field

The shipped text, Extracted Keywords, names the feature. It does not tell the shopper the chips do anything. A line like “We found these in your photo. Tap one to narrow the search.” earns its place at the top of the page.

Keywords Background Color fills each chip. Default #f2f2f2.

The Keywords Background Color picker

Keep it quiet. There can be up to fifty chips in that row, directly above the products, so anything strong here competes with what the shopper came for.

Keywords Font Color colours the text. Default #555555.

The Keywords Font Color picker

This field sets the chip border as well. The plugin lightens whatever you pick and draws the outline in it, which is why there is no separate border setting. Pick a text colour that reads against the background from step 2 and the outline follows.

Image Position in Keywords Box puts the shopper’s uploaded photo on the Left or the Right of the chips. Default Left.

The Image Position picker

The photo takes a fixed 110px column and the chips take the rest. On a narrow phone the box stacks into one column and the setting stops applying.

Loader Primary Color draws the main spinner ring and the progress bar. Default #007cba.

The Loader Primary Color picker

Loader Secondary Color draws the alternating rings. Default #00a0d2.

The Loader Secondary Color picker

The loader nests four rings and alternates the two colours across them, and the progress bar runs a gradient from primary through secondary and back. Two shades of one brand colour reads as one component. Two unrelated colours reads as a fault.

Press Save Changes.

Step 6: Check the loader on the storefront

Section titled “Step 6: Check the loader on the storefront”

Run a real image search. The loader is on screen for the whole classification. On a shopper’s phone that is several seconds, so it is worth looking at rather than assuming.

The Analyzing Image loader over the shop page

Then read the results page the search lands on.

The keywords box above the matching products

Judge it against the products below rather than on its own. The box is a navigation aid sitting above the thing the shopper wants. It should be legible and quiet, and the products should still be what the eye lands on.