Help Center

< Back
You are here:

Search Layout

Search Layout dictates the layout of the search results page.

There are two options-

  1. Overlay mode
  2. Search results on another page.

Option 1- Overlay mode (Search results on the same page).

This is the default mode. On pressing enter, search results will appear as a fullscreen overlay over the current page.

Overlay Mode

Option 2- Search results on different page (search results open in a new page)

Use this setting to display the search results on a separate page.

For example, if you want your search results to come in a page, then enter /search-results/ under search result path. Enter your desired query parameter- q, (for WordPress usually it is s)

Now click on Apply.

Keep in mind that you will get a new piece of code to add to your search results page.

search results on different page code

The <ci-search-results></ci-search-results> HTML code has to be added on your search results page for displaying the search results.

Table of Contents