Title: Submenu Dropdown Styling
Last modified: December 7, 2018

---

# Submenu Dropdown Styling

 *  Resolved [elbian](https://wordpress.org/support/users/elbian/)
 * (@elbian)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/submenu-dropdown-styling/)
 * I have a question under Dropdown Styling, I notice that we can only adjust the
   Width (px) under Customize > Header > Menu > Dropdown Styling/
 * How about the option to adjust the Height (px) of the submenu items from the 
   Main menu as an example sent by micwie screen shot https://prnt.sc/kzzjgf. In
   this example how do we adjust the height difference of the COLLECTION to the 
   submenus namely SUBMENU1 TEST, SUBMENU2 TEST and SUBMENU3 TEST?
 * thanks
 * Elbian
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsubmenu-dropdown-styling%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * (@apprimit)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/submenu-dropdown-styling/#post-10959052)
 * Hello,
 * Try to add the below code to the Customize > Custom CSS section to increase the
   height of the submenus. Adjust padding to make it as per your need.
 *     ```
       .dropdown-menu ul li a.menu-link {
           padding: 20px 15px !important;
       }
       ```
   
 *  Thread Starter [elbian](https://wordpress.org/support/users/elbian/)
 * (@elbian)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/submenu-dropdown-styling/#post-10961565)
 * Thank you for your effort in replying but its not what i want to happen. Here
   is a link for you to see what I mean. [https://ibb.co/jRwTbcq](https://ibb.co/jRwTbcq)
 * thanks
 * Elbian
 *  [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * (@apprimit)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/submenu-dropdown-styling/#post-10962659)
 * Okay, use the below code instead of the previous one. Adjust the padding and 
   line-height as per your need.
 *     ```
       #site-navigation-wrap .dropdown-menu >li >a {
           line-height: 15px;
           padding-top: 20px;
       }
       ```
   
 *  Thread Starter [elbian](https://wordpress.org/support/users/elbian/)
 * (@elbian)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/submenu-dropdown-styling/#post-10963425)
 * I tried the above css code but still nothing is changed. I even adjust the height
   and padding to 200px just to see if there is changes. Is there anything you miss
   or miss type in the above code? I don’t have any knowledge on CSS. Please help
   me on this.
 * Thank you in advance
 * Elbian
 *  [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * (@apprimit)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/submenu-dropdown-styling/#post-10964327)
 * Can you share your site link so that I can check the code on your site? The above
   code should work.
 *  Thread Starter [elbian](https://wordpress.org/support/users/elbian/)
 * (@elbian)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/submenu-dropdown-styling/#post-10967042)
 * The website I am working is presently installed in localhost (my PC). But the
   good news is, I was able to solved the issue. I just tweak the Height (px) and
   Padding (px) under HEADER section of OceanWP customize theme appearance. Thank
   you for the effort bro. Goodluck.
 * Elbian
    -  This reply was modified 7 years, 6 months ago by [elbian](https://wordpress.org/support/users/elbian/).
 *  [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * (@apprimit)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/submenu-dropdown-styling/#post-10968494)
 * Happy to hear that it is resolved!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Submenu Dropdown Styling’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.6/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/submenu-dropdown-styling/#post-10968494)
 * Status: resolved