{"id":979,"date":"2025-03-24T14:28:11","date_gmt":"2025-03-24T14:28:11","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/change-background-color-of-no-listings-were-found-matching-your-selection-notice\/"},"modified":"2025-04-03T15:24:32","modified_gmt":"2025-04-03T14:24:32","slug":"change-background-color-of-no-listings-were-found-matching-your-selection-notice","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/code-snippets\/change-background-color-of-no-listings-were-found-matching-your-selection-notice\/","title":{"rendered":"Change Background Color of &#8220;No listings were found matching your selection&#8221; Notice"},"content":{"rendered":"\n<p>By default, the&nbsp;&#8220;No listings were found matching your selection.&#8221; notice appears on a blue background when you are searching for a given key phrase and nothing relevant is found.&nbsp;<\/p>\n\n\n\n<p>You can change its background to anything of your choosing using the CSS code below:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-css\">.bsui .alert-info {\n    color: #fff;\n\tbackground-color: #17a2b8;\n\tborder-color: #17a2b8;\n}<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-info mb-3\" role=\"alert\"><span class=\"fas fa-info-circle me-2\"><\/span><span class=\"flex-grow-1\">You will need to place the above code at\u00a0<strong>WP > Appearance > Customize > Additional CSS.<\/strong> You can replace the color values with any other color that you prefer.<\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>By default, the&nbsp;&#8220;No listings were found matching your selection.&#8221; notice appears on a blue background when you are searching for a given key phrase and nothing relevant is found.&nbsp; You can change its background to anything of your choosing using the CSS code below:&nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[693,843],"article\/categories":[211,433],"class_list":["post-979","gd_place","type-gd_place","status-publish","hentry","gd_place_tags-custom-css","gd_place_tags-change-background-color","gd_placecategory-tips-tricks-more","gd_placecategory-code-snippets"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=979"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/979\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=979"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=979"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}