Changing the textfield text in search box.

This topic has 4 replies, 3 voices, and was last updated 9 years, 2 months ago ago by Eva Kemp

  • Avatar: jonofat
    Jonathan
    Participant
    January 23, 2015 at 16:14

    I have the top nav search setting set to have a box pop up in the middle of the screen if I press the search button. However, I want to change the text. How do I do this? Thanks.

    3 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    January 23, 2015 at 16:30

    Hello,

    If I understood you correctly. You can edit this text in \themes\royal\framework\theme-functions.php file on line 1218.

    Regards,
    Robert Hall.

    Avatar: jonofat
    Jonathan
    Participant
    January 23, 2015 at 18:11

    Yes, that’s the one, thanks so much! It worked perfectly. The only thing left to find is how to change the actual text in the text box itself that says” Search for products”. That text isn’t in the same block of code as line 1218. Perhaps because it is js or something?

    Avatar: Eva
    Eva Kemp
    Support staff
    January 23, 2015 at 19:14

    Hello,

    You can change that text in wp-content/themes/royal/woosearchform.php.

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.