Announcement

Collapse
No announcement yet.

Navbar Question

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

  • [Forum] Navbar Question

    hello,
    I just changed navbar size to 60x80px
    but the input search is on the top
    How to center it like search button?
    Thank you
    Attached Files
    Vui Ve Club - www.vuiveclub.net

  • #2
    Can we get a link to the forum/style?

    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
      Here it is:http://www.vuive.info/diendan/forum.php?styleid=12
      Thank you for your reply, Lynne
      Vui Ve Club - www.vuiveclub.net

      Comment


      • #4
        The search button was actually centered using padding on the top. Try this:

        HTML Code:
        .globalsearch input.textbox {margin-top: 18px;}

        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


        • #5
          Yes it works, but how did you calculate for margin-top is 18px ?
          Vui Ve Club - www.vuiveclub.net

          Comment


          • #6
            I played with it in firebug. (The search icon used 19.5px, but that didn't look right to me, so I tried different numbers.)

            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

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X