Change color in search results
-
I am trying to change the color of the description that shows up in the results area
here is the page i am working on: https://www.owlee.com/retailers/
below is the section of code i am trying to edit in the wpsl-gmap.js
html = “<li data-store-id='” + id + “‘><div><p>” + storeImg + “” + store + “<span class=’wpsl-street’>” + address + “</span>” + address2 + city + ” ” + state + ” ” + zip + “<span class=’wpsl-country’>” + country + ” </span> ” + ” ” + ” <span style=’blue’> ” + ” <span class=’wpsl-description-txt’> ” + description + “</span>” + “</span></p>” + moreInfo + “</div>” + response.phone + “</p>” + distance + “” + wpslLabels.directions + ““;
as you might be able to tell, i have the description bolded but i am not able to change the color of the description text. I have tried to add a span style as you can see to change it to blue but it does not seem to be working.
Do you know what code i can add to change the description color in the results?
Thank you so much
- The topic ‘Change color in search results’ is closed to new replies.