Support » Theme: Twenty Twenty » Edit Search

  • Resolved Jan

    (@jan0602)


    Hi,

    I want to edit the search on my theme in a couple of ways, and I have no idea how to do it.

    I have created a child theme with a stylesheet and function.php

    1. I want to get rid of the separator before the search icon
    2. I want to get rid of the link/word search

    Thank you,

    • This topic was modified 3 months ago by Jan.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Jan

    (@jan0602)

    I solved 2. I want to get rid of the link/word search

    Paste the following in your child themes stylesheet:

    /* Toggle Text - START */
    
    .toggle-text {
    	display: none;
    }
    
    /* Toggle Text - END */

    This also gets rid of the menu text under the ellipsis menu.

    • This reply was modified 3 months ago by Jan.
    raQai

    (@raqai)

    this should help with 1.

    1. I want to get rid of the separator before the search icon

    
    search-toggle-wrapper::before {
      content:none!important;
    }
    
    Jan

    (@jan0602)

    That is not working for me but I think you are in the right direction.

    raQai

    (@raqai)

    a dot is missing. it is working for me on your site.

    
    .search-toggle-wrapper::before {
      content:none!important;
    }
    
    Jan

    (@jan0602)

    Thank you!

    Sometimes it helps to walk away for a while.

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