Please can you advise how I can stop the word product showing under the price. It’s related to the post type that is being searched. I have set this to just be Products where as the search bar at the top searches posts and products. I tried to hide it using css but this seems to hide it it on both the search fields which is not what I want.
I just need to hide it on the search used on courses but I cannot locate the setting that I need to change.
I could not login to the back-end to check, but from the source code it looks like it is printed via the advanced title field. I recommend checking that first, it should contain something like this
<span class="searchptitle">product</span>
If nothing like that is in there, then it might be included in the price field(?). In that case, this simple custom CSS will hide it:
On the top search – where it says Post, Product etc – is there a way to apply a different colour to each of these – or add a background color – it looks like they are all the same class so one change will affect them all?
I guess you can. The best is to use a different class, but each result has the post type class name in it. For example, you can target the “product” post type only like so: