- This topic has 10 replies, 3 voices, and was last updated 5 months, 2 weeks ago by .
Viewing 11 posts - 1 through 11 (of 11 total)
Viewing 11 posts - 1 through 11 (of 11 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Education Hub Pro › Change label on search button
Tagged: Search
Hello,
Is it possible to change the value/label name on the search button?
I do not see an option anywhere is the theme configuration.
Thanks,
Patrick
Yes, there is no options to change the label of search button.
No worries, we can change the label by adding a few lines of JS code
For that you need to install “Simple Custom CSS And JS” plugin, you can follow the screen record
https://www.awesomescreenshot.com/video/19913578?key=9ec7b5ca3282b7a20cce6e95d70ac4ed
Here is the JS code
jQuery(document).ready(function($) {
$( ‘#masthead .search-submit’ ).attr( ‘value’, ‘search…’ );
});
you can change the value ‘search…’ as per your requirement
after adding the JS code published and refresh the site
Does this method also work on the free Education Hub template? I did exactly as above and this method did not work.
@AIWORDPRES666, It should work, could you please double-check that the code you added is on the js snippet? Also could you please share your site URL and the screenshot of the form that you want to change the placeholder
nowa.biblioteka.miechow.pl
Screenshot form: https://i.ibb.co/pfBwWSs/screen.png
It seems the JS is not added correctly. We have inspected your site, the above code also works for you
Could you let us know the way that you have added code on your site?
It seems there has been an issue with the code while copying. Please follow the screen record
https://www.awesomescreenshot.com/video/29266616?key=8662e65542e55e5ef8fbd9beb31f37a5
It works! Thank you very much.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |