Forums › Forums › Search & Filter Pro › Adding the Post Title to Search Results and Thumbnail Question
- This topic has 15 replies, 2 voices, and was last updated 4 years, 9 months ago by
Anonymous.
-
Trevor(Private) January 7, 2021 at 10:58 am #271891
Ah, now I understand. You have some CSS hiding the title:
https://www.screencast.com/t/WSyi4puCa33
This is the CSS:
body:not(.search-results) article.post .entry-header { display: none; }So, you need to counter that. Setting is_search adds the necessary class to the body tag. I have done this for one form:
https://www.screencast.com/t/tyRYMUGHWOL7
You will need to do it for the other forms.
Trevor(Private) January 7, 2021 at 6:36 pm #271983It isn’t coded in the search.php template file, the loop is called here:
<?php get_template_part( 'loops/loop', siteorigin_setting( 'layout_search' ) ); ?>We have no control over that.
You would need to ask SiteOrigin how to make it wider. It appears to be set by the column widths of the two columns, currently set at 11.68% and 84.41%.
My guess is that the theme will pick an image to suit the column width. So, if you make the image wider, the content (title etc) will get smaller.
But, as I said, we have no control over that. Our plugin is simply telling the theme which posts to show.
-
AuthorPosts
