• Resolved ilucie

    (@ilucie)


    Hello, could you please advise how to remove (or change) “x” in search box? I dont use a builder. Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ilucie

    (@ilucie)

    input[type=”search” i]::-webkit-search-cancel-button {display: none}

    Moderator Jan Mc Kell

    (@janmtm)

    Hi @ilucie !

    Could you share more details to clarify your question ?

    Are you trying to remove the search box entirely ?
    This is an optional addition that you can remove from Appearance → Editor. (See here how to edit your theme layout in Block themes.)

    Are you trying to edit the HTML output from a search box, on your site ?
    For example, this is the default output for a search box with no label and no placeholder text:

    <input class="wp-block-search__input" id="wp-block-search__input-1" placeholder="" value="" type="search" name="s" required="">

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