1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Any ideas how to style this search box?

Discussion in 'Styling and Customization Questions' started by mrb1972, Jan 4, 2012.

  1. mrb1972

    mrb1972 Active Member

    Hi,

    Doses anyone know how to edit css for this search box so that surrounding border is red not white, without affecting the pop-up border colour?

    search.jpg

    Thanks
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Code:
    #QuickSearch,
    #QuickSearch .formPopup .primaryControls {
    background-color: red;
    }
     
  3. mrb1972

    mrb1972 Active Member

    Thanks, but not quite right, as the search pop-up box now has the wrong colour border
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Works fine on my installation.

    You'll have to give me a screenshot as to what it is you're trying to achieve.
     
  5. mrb1972

    mrb1972 Active Member

    Search box looks ok here
    search.jpg

    But clicking and bringing up the search popup box shows this, the border top and bottom is now red
    popup.jpg

    but i want it to stay like this
    popupok.jpg
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    It's the same background element, I can't really do much about that.

    You will likely need to make template and/or css changes to achieve that.
     
  7. mrb1972

    mrb1972 Active Member

    I did manage before but I think one of the updates has changed something...
     

Share This Page