How to change the "Search Form" background color?

Homepage Community Forums Epik Theme Support How to change the "Search Form" background color?

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #13790
    Nandita
    Customer

      Please help me to change the background of my ‘Search Form’ to match the widget background color. I want to change the color of input, select, textarea and box-shadow of my search form.

      I’ve put the ‘Search Form’ in the Footer -2 Widget of my EPIK Theme blog.

      URL is http://seohour.com

      Thank you in advance 馃檪

      #13807
      Wes
      Moderator

        If you want to add some code to the search field so that it is only affected in the footer widget area, then you can add this code to your css –

        .footer-widgets input[type="search"] {
        	background: #5a9341;
        	border: none;
        }

        If you do it this way then you can add the search field in other places of your site and it will still show up as the default white color. The green will only appear on the search field if used in the footer area. Is this what you’re looking to do?

        #13810
        Nandita
        Customer

          Hi WES,

          It worked. And it’s great to get an answer from the creator of the theme itself. EPIK is a great theme, and I’m really enjoying it.

          Can you please tell me – How to change the Place Holder Text Color labelled “TYPE KEYWORD/S & HIT ENTER” in the Footer Widget Search Box? I want to make the text color #000.

          Thank you so much.

          #13820
          Wes
          Moderator

            I’ve actually never done that before, so I had to do some research and came up with this –

            ::-webkit-input-placeholder {
               color: #000;
            }
            
            :-moz-placeholder {
               color: #000;  
            }
            
            ::-moz-placeholder {
               color: #000;  
            }
            
            :-ms-input-placeholder {  
               color: #000;  
            }

            That should get it working for all browsers.

            #13829
            Nandita
            Customer

              Hi Wes,

              Thank you so much for your time & efforts. Hats-up for the great after sales services 馃檪

              #13830
              Wes
              Moderator

                You’re Welcome!

              Viewing 6 posts - 1 through 6 (of 6 total)
              • The topic ‘How to change the "Search Form" background color?’ is closed to new replies.