Title: Problem with padding when using drop-down menu
Last modified: May 17, 2020

---

# Problem with padding when using drop-down menu

 *  Resolved [cahajla](https://wordpress.org/support/users/cahajla/)
 * (@cahajla)
 * [6 years ago](https://wordpress.org/support/topic/problem-with-padding-when-using-drop-down-menu/)
 * I have a drop-down menu with 9 items + some description in text format + checkboxes.
   
   When the first option in the menu is chosen then the description and checkboxes
   are aligned correctly from the top. But when I choose second option, the description
   move down by approx. 10px, when third item is chosen it remains the same and 
   when fourth item is chosen then even checkboxes move down. The problem must be
   related to this plugin, because if I removed all groups and conditions, then 
   all three parts are aligned correctly.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-padding-when-using-drop-down-menu%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years ago](https://wordpress.org/support/topic/problem-with-padding-when-using-drop-down-menu/#post-12852703)
 * Looks like there are some unwanted p tags.
 * The quickest (dirty) solution would be to add a style like this:
 *     ```
       .wpcf7-form p {
         margin-bottom:0;
       }
       ```
   
 *  Thread Starter [cahajla](https://wordpress.org/support/users/cahajla/)
 * (@cahajla)
 * [6 years ago](https://wordpress.org/support/topic/problem-with-padding-when-using-drop-down-menu/#post-12852957)
 * Thanks Jules!
    That fixed the problem, however I’d like to find out what the 
   issue causes and so don’t have to put extra paddings between all fields. I’ve
   just found out, that also when I add an empty group (which never shows) as the
   first item in both problematic columns, then it also solves the problem. Based
   on that don’t you have an idea what it causes?
    -  This reply was modified 6 years ago by [cahajla](https://wordpress.org/support/users/cahajla/).
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years ago](https://wordpress.org/support/topic/problem-with-padding-when-using-drop-down-menu/#post-12853496)
 * the problem is most likely due to newlines. If you would write your entire post
   in a single line, the p tags will also not appear. wordpress is notorious for
   converting new lines to p-tags, even when you would not expect it

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

The topic ‘Problem with padding when using drop-down menu’ is closed to new replies.

 * ![](https://ps.w.org/cf7-conditional-fields/assets/icon-256x256.png?rev=2072595)
 * [Conditional Fields for Contact Form 7](https://wordpress.org/plugins/cf7-conditional-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-conditional-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-conditional-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-conditional-fields/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/problem-with-padding-when-using-drop-down-menu/#post-12853496)
 * Status: resolved