How to Add the Instant Search Icon Widget to Your theme
Follow the steps below:
- Go to the Widgets page
Click the icon marked with a red arrow on the left side of the screen.
- Scroll through the page
Locate the Instant Search Icon widget.
- Click the "Add to my theme" button
This button is indicated with a red arrow.
- A tutorial video will appear
Then, click the "Add widget to my theme" button, also marked with a red arrow.
- A new tab will open automatically
Wait for the new tab to fully load.
- Click the list header marked with a red arrow
This will expand the widget list.
- Select Instant Search Icon
Clicking it will open the settings panel for the widget.
- Enter the CSS code
In the field marked with a red arrow. (Note: A basic understanding of HTML/CSS is recommended for this step.)
- How to get the code class.
To get the class of the element, right-click and inspect the element in the area marked with a red arrow.
- Once the inspection panel opens, hover your mouse over the section marked with a red arrow at the bottom. This will highlight the target element, which is located in the top-right corner of the page.
- Adjust the target position settings according to your needs
- For example, if you want to place it in the first position, configure the target position as shown below:
Before:
After: