Popup/Dropdown menu style.. (popupbody?)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Toups
    Member
    • Aug 2008
    • 75

    [Forum] Popup/Dropdown menu style.. (popupbody?)

    Popup menus are rather large (seem like they have a lot of random padding)... any where to change this such as in the style vars?
    (see picture here: http://img691.imageshack.us/img691/5751/sdfsadsadas.jpg )
  • Andy
    Senior Member
    • Jan 2002
    • 5886
    • 4.1.x

    #2
    Put this into your additional.css template. Adjust the padding to your desire.

    Code:
    .popupbody li > a,
    .popupbody li > label {
    	padding: 1px;
    }

    Comment

    • Toups
      Member
      • Aug 2008
      • 75

      #3
      Originally posted by Andy
      Put this into your additional.css template. Adjust the padding to your desire.

      Code:
      .popupbody li > a,
      .popupbody li > label {
          padding: 1px;
      }

      didn't change anything =\...
      in FF inspect:

      Code:
      <li id="yui-gen2" class="popupmenu"><a id="yui-gen4" class="popupctrl" href="javascript://">Community</a>
      
      <img role="presentation" class="twisty "><ul id="yui-gen3" class="popupbody" style="display: none; top: 20px; left: 0px; right: -48px;">
      <img role="presentation" class="twisty "><li>
      <a href="group.php">Groups</a>
      
      
      </li>
      
      <img role="presentation" class="twisty "><li>
      <a href="album.php">My Albums </a>
      
      
      </li>
      
      <img role="presentation" class="twisty "><li>
      <a href="profile.php?do=buddylist">Friends & Contacts</a>
      
      
      </li>
      
      <img role="presentation" class="twisty "><li>
      <a href="memberlist.php">Member List</a>
      
      
      </li>
      
      
      </ul>
      
      
      </li>
      it seems somehow it's getting a 20px padding but I'm not sure where it's coming from.
      Last edited by Toups; Mon 8 Mar '10, 4:09am.

      Comment

      • Andy
        Senior Member
        • Jan 2002
        • 5886
        • 4.1.x

        #4
        Originally posted by Toups
        didn't change anything =\...
        Did you do a hard refresh CTRL-F5 ??

        Comment

        • Toups
          Member
          • Aug 2008
          • 75

          #5
          all fixed, was actually height and line-height settings in vbulletin-chrome.css
          Last edited by Toups; Mon 8 Mar '10, 9:04am.

          Comment

          • Andy
            Senior Member
            • Jan 2002
            • 5886
            • 4.1.x

            #6
            It would be more helpful if you could post the css element you modified.

            Comment

            • Toups
              Member
              • Aug 2008
              • 75

              #7
              actually had to modify about 6 different ones, I'll see if I can find the exact ones later.
              Basically the dropdowns were taking the height of the navbar from the stylevars and matching it, the navbar was 35px height so the dropdowns each were being 35px height instead of 20px which I have them set to now.

              Comment

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