Last Updated 23 Jul 2024
|

Introducing Search Styles in Astra!

Quick Summary ↪ Astra now offers stylish search options to enhance your website's interactivity. This update introduces four search styles: Slide search, Full-screen search, Header cover search, and Default search box. Read on to find out what’s available in Astra Theme v1.4.9 and Astra Pro addon v1.5.0.

Introducing Search Style in Astra

Have you been looking around for some stylish search options that look great and interactive on your website? Many of you even wrote to us asking whether we plan to introduce styles to replace the default Astra search box.

But now, we do! Yes, you can add a stylish search option that such as

  • The Slide search – It slides open a search box when you click on the search icon.
  • The Full-screen search – It covers the entire screen
  • The Header cover search – It covers the header
  • The Search box – A default search box if you would like to keep it as it is.

With the newly introduced styles, you’ll be able to change the default search box on both desktop and mobile. These styling options are available in the Astra Theme version 1.4.9 and Astra Pro addon version 1.5.0.

You can take a quick look at the GIF below that shows how different search styles will look on your website.

Astra header options

What’s More to This?

Need to add search options anywhere on the page? We’ve introduced a few shortcodes that you can pick and insert anywhere on the page. These shortcodes work with specific parameters that allow you to select the style you wish to use. You can learn more about these search shortcodes in our knowledge base article.

Give It a Try!

To get started, backup your website and update your theme and Astra Pro. If needed, you can also follow the steps below to do it manually:

  1. Download the the latest versions of the theme and plugin from the member’s area.
  2. Delete the currently installed Astra theme and Astra Pro Addon plugin from your site. Don’t worry you won’t lose any data.
  3. Install the downloaded zip files in step 1, just like any WordPress theme and plugin.

That’s about it! If there are any improvements or features you would like to see, please feel absolutely free to let us know. We look forward to seeing your favorite search styles on your website!

Cheers 🙂

Article by
Sujay Pawar
LinkedInTwitter

Sujay Pawar is the co-founder and CEO of Brainstorm Force. He brings a one-of-a-kind fusion of tech brilliance, business savvy and marketing mojo to the table. Sujay has consistently spearheaded the development of innovative products like Astra, CartFlows, ZipWP and many others that have become market leaders in their respective niches.

Disclosure: This blog may contain affiliate links. If you make a purchase through one of these links, we may receive a small commission. Read disclosure. Rest assured that we only recommend products that we have personally used and believe will add value to our readers. Thanks for your support!

34 comments
  1. Zahid Aramai Profile Pic

    Thanks for the great articles. I’m using your search style and add it up on my website through shortcode where I could have more flexibility in placing my search box. Again thanks for the full screen style. really great job!

    1. Justin Profile Pic

      This appears to be a wordpress site search. I would to see a woocommerce product search, because although it LOOKS REALLY NICE the results would confuse my customers.

    1. Team Astra Profile Pic

      This is not available as of now, I the future versions of the plugin we will be bringing this option for the header layouts.

  2. Alex Barcan Profile Pic

    Hi, I have a question. If I have team members on the website, is it possible to have the search function, search only through the list of team members?

  3. Rob Profile Pic

    Hi

    1. How can I change the text string “Search…” without using a plugin?
    2. How to limit the search result to post only?

    Thank you.

  4. Steven Profile Pic

    Thanks so much for this!

    I am using the “Slide Search” style on a website.

    Question: What is the best way to increase the width of the search box when it slides out?

    I would love to get the box so slide out to about 500px 700px or so.

    About the last 15 sites we have done have all been Astra!

    Thanks! — Steven

    1. Team Astra Profile Pic

      Hello Steven,

      You can do this by adding a custom width to the form element and making changes for the dropdown CSS.

      Please feel free to get in touch with us if you need any further help.

  5. Christian Profile Pic

    Dear Support Team,

    is it possible to change the action URL from the search form via a filter/action?

    Thanks in advance!
    Christian

    1. Team Astra Profile Pic

      Hello Christian,

      Well, we use the default WordPress filter to fetch the Search Form. You will need to check the WP codebase or other plugins that can help achieve this requirement.

      1. Christian Profile Pic

        Hi Support Team,

        thanks for your reply. I should have mentioned that I mean the advanced search (full screen) from the Astra Pro version. But I figured it out. In case someone searches for a solution:

        Copy template file from Astra Pro plugin directory:
        /wp-content/plugins/astra-addon/addons/advanced-search/template/full-screen.php

        to your child theme directory:
        /wp-content/themes/your-astra-child-theme/astra-addon/advanced-search/full-screen.php

        Now you can edit the template in a save way. Should work with any other template file from Astra Pro as well.

        Best regards,
        Christian

        1. Clement Profile Pic

          Hi Christian,
          I seems it doesn’t work anymore…
          I want to replace the in full-screen.php and override template in not display.
          Best regards,
          Clement

  6. ANDREI Profile Pic

    Hey

    You said that search for mobile will be available soon.
    Pls make it true. I realyy need that search on mobile.

    Andrei

  7. Saurabh Khajuria Profile Pic
    Saurabh Khajuria

    Hi,
    How do we change (color) settings for the (search) results page.
    Search on my website returns invisible links (seems like white on white bg). However the description lines (excerpts) are visible.
    The links can be known to exist above the excerpts only on a mouse hover, otherwise its blank white spaces in between excerpts.
    Thanks,
    Saurabh.
    P.S – Is there a place to suggest additional functionalities for Astra Pro. For eg: having a hamburger menu option for desktop. Astra is fab but there is always more to add/suggest.

    Thanks!
    Saurabh.

  8. Margaret Profile Pic

    After searching and searching online for instructions on how to add search to the Astra Pro plugin Header Builder, I stumbled across how to add it. I’m having no luck in finding a setting that will allow the search box to slide to the right. Does anyone know where this setting is?

    Thanks

  9. Tung Profile Pic

    Hi. I am using Astra Pro Version 3.5.1 but I can’t find the option to add “Search bar” as a last item in primary menu!

  10. Robi Erwin Setiawan Profile Pic
    Robi Erwin Setiawan

    Is it possible to make differentiation on Search Style?

    I mean, I would like to use the search box style on Desktop, but I use the slide search style on mobile.

      1. Daniel SOusa Profile Pic

        Already create for the “Search Results” archive, but when not found results is used another layout from Astra
        Any idea how to force the Elementor layout?

  11. Helani De Silva Profile Pic
    Helani De Silva

    Hello,

    I have a problem in my search bar.

    How to add a search bar for a page like freepik[dot]com/, elements.envato[dot]com/ search bar with categories, I using Astra theme for my website, but I can’t create like that kind of search bar. Please help to solve it as soon as possible.

    Thank you.

    1. Team Astra Profile Pic

      Hello Helani, sorry at this moment we do not have such search functionality. Such requirements are added using a third-party plugin or custom code.

Leave a Comment

Your email address will not be published. Required fields are marked *

Join 1,653,898+ Happy Site Owners Using Astra

Whether you are a beginner, small business owner, or professional web developer, Astra provides all the tools you need to easily build your beautiful WordPress website.

Scroll to Top