Support » Plugin: Better Search - Relevant search results for WordPress » Results display with no margin

  • Hello, how can the results be displayed in a neat way taking in consideration the theme width margins, and not take the whole browser page?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Ajay

    (@ajay)

    There are two things that you could for this:

    1. Turn on seamless mode in the settings page – this will use the default search template of your theme and completely match the look and feel.

    2. Create a file called better-search-template.php in your theme’s directory that is modelled upon the search.php of your theme to get the right header / footer part. See an example included in the plugin based on one of the older default themes in WP. https://github.com/WebberZone/better-search/blob/master/templates/better-search-template.php#L15-L26

    The lines you need to put into your template would be these highlighted ones and line 10

Viewing 1 replies (of 1 total)
  • The topic ‘Results display with no margin’ is closed to new replies.