Site logo

[Resolved] Possible to add text to the navagation search bar?

Home Forums Support [Resolved] Possible to add text to the navagation search bar?

Home Forums Support Possible to add text to the navagation search bar?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2422798
    JOHN

    Hello,
    Using the Prime site library. Is it possible to add something like “Search Now” to the search bar? I guess it’s called a placeholder?

    I’ve looked on the customization tab and could only find these options:

    Primary Navigation/Navigation Search/Enable/Disable.
    And then there are options for background color, menu height and width but nothing to customize the search bar itself.

    I basically just want to enhance the search bar look a little bit. When you click on the magnifying glass icon,I would like just a little text there that says something like “search this site”, search now” or “find your favorite product”

    #2422799
    JOHN

    I also have Elementor, so maybe it can be added that way?

    #2422817
    David
    Staff
    Customer Support

    Hi there,

    you can add a Placeholder using a PHP Snippet – this doc provides that:

    https://docs.generatepress.com/article/generate_navigation_search_output/#add-a-placeholder

    How to add PHP:
    https://docs.generatepress.com/article/adding-php/

    #2422834
    JOHN

    Thank you! Exactly what I was looking for.

    #2422841
    David
    Staff
    Customer Support

    Glad to be of help

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.