Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi guys,
I have this code in my custom CSS:
/* Vantage hide page titles */
article.page .entry-header h1.entry-title {
display: none;
}
I’d like to add a search bar to my site, but the code hides the page titles from search results. I’d like to hide the page titles only in pages. Is there a code you can give me that will only show the titles in search results?
Thanks!
Question 2 – Is there a way to change the displayed image size for featured images in search results (pages only).
I’d like the image to display at 300 x 169 in search results.
Hi Hardel
You can fix/change this with some custom CSS. If you navigate to Appearance > Custom CSS, you’ll get our custom CSS editor. Just add the following code.
Thanks Andrew, the first code worked great for displaying the page title in searches.
But, the second code made no change to the size of the small thumbnail. I do not use posts, only pages. I’d like the page featured image to display at 300 x 169 in search results.
I’m also having another issue. When I click ‘next’ or page 2 in the search results, it redirects to the 404 page. Any way to fix this?
Page featured images are, unfortunately, not displayed in search results in Vantage at the moment.
To fix the 404 issue, try going to Settings > Permalinks and just clicking Save.
Thanks Andrew. I found a workaround for the images.
I’d like to hide the search bar displayed in: no-results.php
Can you provide a css code I can use to do so?
I am also noticing a few issues with search results.
For example: https://rockclass101.com/?s=rock
Click on page 3 or 6 of the results. It is a a dead page. While some of the results pages (like 4 or 14) are functioning perfectly. Any idea how to fix this? I did the perma link suggestion and that fixed it previously.
* update. page 3 is working now, but it is only displaying one result. I deleted all my posts (my site is all pages) and page 3 starting working after that…
6, 7, 8 and so on are not working.
The search widget in your sidebar could be hidden using Jetpack Widget Visibility:
http://jetpack.me/support/widget-visibility/
Once Jetpack is activated recommend going to Jetpack > Settings and de-activate everything, then just activate Widget Visibility and any other modules you want.
At Appearance > Widgets open search widget, click Visibility then Don’t Show If > Page is > Search Results.
Go to Settings > Permalinks and click Save then re-test the pagination page not found issue in Search Results.
Hey Andrew,
I was referring to hiding the search bar on the no-results.php page, not the one in my sidebar.
Is there a code to remove that one?
———-
Also, hitting save on the permalinks page is not resolving the pagination page not found issue in Search Results.
For the pagination issue, I’m not sure what the problem is there. You could try a plugin conflict test. Test the problem with all non-SiteOrigin plugins de-activated at once.
The search results display anywhere from 1-5 page results. Is there a way to edit this to make each result page show the same number of results?
It’s not normal behaviour. I’m not sure why this happening. A plugin conflict test would be the place to start testing.
Hey Andrew,
I was able to conclude that the membership plugin I am using is causing the pagination issue. Thanks for the help, I’ll reach out to them for resolving the issue.
Glad to hear you’re making progress, nice find.
All the best.
Hi Andrew! Will any of this css give my post titles h1 tags?