Announcement

Collapse
No announcement yet.

Stylevar for forum search inputbox text color or background

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [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

  • #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


    • #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


      • #4
        Custom css goes in the additional.css template.
        MARK.B | vBULLETIN SUPPORT

        TalkNewsUK - My vBulletin 5.5.6 Demo
        AdminAmmo - My Cloud Demo

        Comment


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

          Comment

          Related Topics

          Collapse

          Working...
          X