Title: Align Menu with Button
Last modified: October 13, 2018

---

# Align Menu with Button

 *  [wmusic](https://wordpress.org/support/users/wmusic/)
 * (@wmusic)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/align-menu-with-button/)
 * Hello!
    I need to align the menu with a button. I was able to find out where 
   it does this in the Google fo inspect, but I do not know where the code inside
   Wordress is. What I need to change is line-height. Image in the links below:
 * 1 – [https://prnt.sc/l5nuvv](https://prnt.sc/l5nuvv)
    2 – [https://prnt.sc/l5nv3h](https://prnt.sc/l5nv3h)
 * Thanks!

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 8 months ago](https://wordpress.org/support/topic/align-menu-with-button/#post-10777625)
 * Please provide a link to a page on your site where we can see this. Thanks.
 *  Thread Starter [wmusic](https://wordpress.org/support/users/wmusic/)
 * (@wmusic)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/align-menu-with-button/#post-10777627)
 * Thanks for the feedback.
    The link is [http://www.ajeitosuamusica.com.br/](http://www.ajeitosuamusica.com.br/)
   Thanks.
    -  This reply was modified 7 years, 8 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
      Reason: replaced goo.gl link
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 8 months ago](https://wordpress.org/support/topic/align-menu-with-button/#post-10777634)
 * More or less:
 *     ```
       li#menu-item-2008 a {
           padding-top: 6px;
       }
       ```
   
 * You may want to play with that padding value.
 * **To add or override CSS:** use the “Additional CSS” option in the customizer._
   [https://codex.wordpress.org/CSS#Custom\_CSS\_in\_WordPress](https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress)_
 * Learn to use the [Chrome Developer Tools](https://developers.google.com/web/tools/chrome-devtools/)
   to help you see and test changes to your CSS.
 *  Thread Starter [wmusic](https://wordpress.org/support/users/wmusic/)
 * (@wmusic)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/align-menu-with-button/#post-10777640)
 * Wow …
    It worked, thank you.
 *  Thread Starter [wmusic](https://wordpress.org/support/users/wmusic/)
 * (@wmusic)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/align-menu-with-button/#post-10777703)
 * I tried to follow the same reasoning for another item in the footer of the site
   and it did not work.
    I want to align it along with the text.
 * Image – [https://prnt.sc/l5ohq1](https://prnt.sc/l5ohq1)
 * Thanks!
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 8 months ago](https://wordpress.org/support/topic/align-menu-with-button/#post-10777726)
 *     ```
       img.alignright.size-full.wp-image-1891 {
           margin-top: -5px;
       }
       ```
   
 * **To add or override CSS:** use the “Additional CSS” option in the customizer._
   [https://codex.wordpress.org/CSS#Custom\_CSS\_in\_WordPress](https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress)_
 * Learn to use the [Chrome Developer Tools](https://developers.google.com/web/tools/chrome-devtools/)
   to help you see and test changes to your CSS.
 * If you have additional theme related questions: You’re using a commercial theme/
   plugin, so please use their official support channel. We feel they are best equipped
   to support their products.
 * [https://www.optimizepress.com/](https://www.optimizepress.com/)
 * **Commercial products are [not supported in these forums](https://make.wordpress.org/support/handbook/forum-welcome/#do-not-post-about-commercial-products).**.
 *  Thread Starter [wmusic](https://wordpress.org/support/users/wmusic/)
 * (@wmusic)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/align-menu-with-button/#post-10777733)
 * Very good.
    Now I’ve begun to understand how it works. Thank you very much.

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

The topic ‘Align Menu with Button’ is closed to new replies.

## Tags

 * [menu](https://wordpress.org/support/topic-tag/menu/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [wmusic](https://wordpress.org/support/users/wmusic/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/align-menu-with-button/#post-10777733)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
