[wp-trac] [WordPress Trac] #61372: Twenty Seventeen: Search Block Clear text button not showing on frontend

WordPress Trac noreply at wordpress.org
Wed Jun 5 06:06:58 UTC 2024


#61372: Twenty Seventeen: Search Block Clear text button not showing on frontend
---------------------------+------------------------------
 Reporter:  pranitdugad    |       Owner:  (none)
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:
 Severity:  minor          |  Resolution:  invalid
 Keywords:                 |     Focuses:
---------------------------+------------------------------
Changes (by nkpathan):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 {{{

 Please find below given css visible Search Block Clear text button in
 site's Front End:


 input[type="search"]::-webkit-search-cancel-button {
     -webkit-appearance: none;
     height: 16px;
     width: 16px;
     margin-left: .4em;
     background-image: url("data:image/svg+xml;utf8,<svg
 xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'><path
 d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12
 13.41 17.59 19 19 17.59 13.41 12z'/></svg>");
     cursor: pointer;
 }

 Thanks
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61372#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list