Announcement

Collapse
No announcement yet.

Popup/Dropdown menu style.. (popupbody?)

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

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

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

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

    Comment


    • #3
      Originally posted by Andy View Post
      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 8th Mar '10, 5:09am.

      Comment


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

        Comment


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

          Comment


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

            Comment


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