Stylevar for forum search inputbox text color or background

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Meestor_X
    Senior Member
    • Apr 2006
    • 637
    • 3.8.x

    [vB4] Stylevar for forum search inputbox text color or background

    This might have been answered before, but the search here seems to be down.
    I want to change the text color and background color of the search box that drops down from a forum's header. Not the global search, but the search box that is available on the Tools Menu, between "administrative" and "inline mod".
    I'm looking to find out what stylevar change the text color and background color of that search inputbox.
    I've tried firebug but all I see is "body" as a css element and I don't think that's it...
    -Andy.
    http://www.checkcheckonetwo.com
    http://www.mindplacesupport.com
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    shade_color for the text in the searchbox (on focus, it is the body_color) and the background is not defined at all. You would need some custom css like:
    Code:
    /* forum search textinput background */
    .popupbody li input.searchbox {
    background: gray;
    }

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • Meestor_X
      Senior Member
      • Apr 2006
      • 637
      • 3.8.x

      #3
      Thank you Lynne. body_color was what I was looking for, but it affects too many other things. Is there a tutorial or post I can find on how to add custom css as you've described?
      -Andy.
      http://www.checkcheckonetwo.com
      http://www.mindplacesupport.com

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24287
        • 6.0.X

        #4
        Custom css goes in the additional.css template.
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • Meestor_X
          Senior Member
          • Apr 2006
          • 637
          • 3.8.x

          #5
          Got it. Thanks, Mark and Lynne!
          -Andy.
          http://www.checkcheckonetwo.com
          http://www.mindplacesupport.com

          Comment

          Related Topics

          Collapse

          Working...