How to add text to the product price in the Search Results Widget Print

Modified on: Tue, Dec 7, 2021 at 3:02 PM


Using the Custom CSS feature, you can add text to the product price in the Search Results Widget. For example, you can add the "from" text before the product price:

To do that, follow these steps:

  1. Go to the Searchanise control panel > Search results widget section > Custom CSS tab.
  2. Select the Use custom CSS setting if it is disabled.
  3. Enter one of the following CSS rules into the text area, changing the content value:
    1. The text before the product price:
      .snize-price:before {
      content: "from ";
      }
    2. The text after the product price:
      .snize-price:after {
      content: " inc tax";
      }
  4. Apply the changes.

That's it. The product price is displayed now with the additional text in the Search Results Widget.



Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.