Title: Sub Menu size
Last modified: August 16, 2024

---

# Sub Menu size

 *  [noelie33](https://wordpress.org/support/users/noelie33/)
 * (@noelie33)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/sub-menu-size/)
 * Hi,
 * I’m still quite new to WordPress and I don’t really know CSS.
 * I use a transparent header on wordpress (and it appears on my Astra theme). I
   have 2 questions :
 * 1/ I was wondering how to change the size of the dropdown submenu. I managed 
   to change the color of the background and the letters but I can’t find a way 
   to make the submenu smaller (without huge space in between the differents sub
   categories).
 * 2/ The dropdown menu starts at the bottom of the transparent header. I would 
   have like to make it directly start under the menu “courses”. Not sure if that
   make sense. Maybe it’s not possible at all ?
 * I’ve seen online many people adding CSS to fix this problem but it didn’t work
   for me.
 * Can someone please help me ?
 * Thanks in advance for your help,
 * Noelie
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsub-menu-size%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/sub-menu-size/#post-17957706)
 * Hi [@noelie33](https://wordpress.org/support/users/noelie33/),
 * The Astra Support Forum might be the best place to ask your question; you might
   even find an answer there already, if another user had a similar question in 
   the past.
 * In any case, you should be able indeed to achieve the desired behavior with some
   custom CSS. The below CSS can be used to achieve the results as shown in the 
   attached screenshots, but feel free to modify it to your liking.
 *     ```
       .ast-builder-menu-1 .menu-item>.menu-link {
           line-height: 3em;
           margin-top: 1em;
           font-size: 1.2em;
       }
       ```
   
 * ![](https://i0.wp.com/i.ibb.co/kyW7P8n/Scherm-afbeelding-2024-08-16-om-15-56-
   26.png?ssl=1)
 * ![](https://i0.wp.com/i.ibb.co/txhP3WH/Scherm-afbeelding-2024-08-16-om-15-56-
   35.png?ssl=1)
 * Hope this helps!
    Kind regards, Jarno

Viewing 1 replies (of 1 total)

The topic ‘Sub Menu size’ is closed to new replies.

## Tags

 * [dropdown](https://wordpress.org/support/topic-tag/dropdown/)
 * [size](https://wordpress.org/support/topic-tag/size/)
 * [submenu](https://wordpress.org/support/topic-tag/submenu/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/sub-menu-size/#post-17957706)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
