Support » Theme: Modality » Change “Search” to “Search this site”

  • To search the website, a plugin widget had first of all been placed below the navigation bar on the right sidebar, as are the others on my site.

    To move it above the nav. bar, I added css in the Editor, Modality Child stylesheet (style.css). All was well. This is it:

        display: block;
        float: left; { float:right; }
        width: 100%;
        height: 280px;
        display: none;

    Now, I want to change it from “SEARCH” to ” SEARCH THIS SITE” as it makes more sense. I thought I should find the widget script in the header php but it’s not there. I can’t find this plugin widget anywhere in the Editor.

    To test the change I want, I added the Search widget to a Post and changed the script as seen below. So, I know I can make it work.

    <form role="search" method="get" class="search-form" action="">
    <span class="screen-reader-text">Search for:</span>
    <input type="search" class="search-field" placeholder="Search …" value="" name="s" title="Search for:">
    <input type="submit" class="search-submit" value="Search this site">

    Is there a simple way I can add css to the Child theme to make this small change?

    • This topic was modified 2 years, 1 month ago by hmahraj.
    • This topic was modified 2 years, 1 month ago by hmahraj.

    The page I need help with: [log in to see the link]

  • The topic ‘Change “Search” to “Search this site”’ is closed to new replies.