You are here:  »  Add class to Sorry, there are no results to display.


Add class to Sorry, there are no results to display.

Submitted by stonecold111 on Wed, 2014-02-12 20:32 in

Hi David,
On no result pages, can I add a class to "Sorry, there are no results to display."?

Submitted by support on Thu, 2014-02-13 08:14

Hi,

The default template (which you can edit from wp-admin > Settings > PriceTapestry.org) is as follows;

<div class='pto_search_noresults'>Sorry, there are no results to display.</div>

...so you can either add an additional class here if you want to use something already defined in your theme's CSS; or alternatively, extend the .pto_search_noresults definition which you will find in the plugin file pto/resources/pto.css

Cheers,
David.
--
PriceTapestry.com