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

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 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

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