Remove conflicting styling - Bootstrap & Google Custom Search

后端 未结 4 1085
孤街浪徒
孤街浪徒 2021-01-13 05:46

Take a look at the picture below from my website: www.kokorugs.com

I am using Boostrap and I believe that there are some conflicting CSS styles.

The problem

4条回答
  •  一生所求
    2021-01-13 06:30

    The second border you are seeing is in fact not a border but a box shadow. It is beeing added by your bootstrap css to all inputs, but not desired for the search box. You should turn it off by countering it for the search box only. Add something like this to your css:

    .gsc-input-box input[type="text"] {
      -webkit-box-shadow: none;
      box-shadow: none;
    }
    

提交回复
热议问题