Home Forums Pro Themes Education Hub Pro Change label on search button

Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #190515
    ppicard@usudbury.ca
    Participant

    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

    #190543
    Psink
    Keymaster

    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

    #196180
    aiwordpres666
    Participant

    Does this method also work on the free Education Hub template? I did exactly as above and this method did not work.

    #196181
    Psink
    Keymaster

    @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

    #196190
    aiwordpres666
    Participant

    nowa.biblioteka.miechow.pl

    #196191
    aiwordpres666
    Participant
    #196193
    Psink
    Keymaster

    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?

    #196194
    aiwordpres666
    Participant

    I use plugin Simple Custom CSS And JS.
    I send screenhot configuration:

    #196195
    aiwordpres666
    Participant

    Screenshot

    #196198
    Psink
    Keymaster

    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

    #196200
    aiwordpres666
    Participant

    It works! Thank you very much.

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