Title: Decrease padding in the box
Last modified: August 22, 2016

---

# Decrease padding in the box

 *  Resolved [purveg](https://wordpress.org/support/users/purveg/)
 * (@purveg)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/decrease-padding-in-the-box/)
 * Hey I wanted to make this slimmer so it would fit nicely under my slider, what
   code could I input to keep it slimmer, and eliminate the excess underneath the
   title, email and subtitle boxes?
 * purveg.com
 * [https://wordpress.org/plugins/optin-forms/](https://wordpress.org/plugins/optin-forms/)

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

 *  [Boris Beo](https://wordpress.org/support/users/brs/)
 * (@brs)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/decrease-padding-in-the-box/#post-5842198)
 * Hi purveg,
 * replace this custom CSS code from:
 * `#optinforms-form2-email-field{height:36px;}`
 * to
 * `#optinforms-form2-email-field{height:36px;margin:0!important;}`
 * Let me know if it worked 😉
 *  Thread Starter [purveg](https://wordpress.org/support/users/purveg/)
 * (@purveg)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/decrease-padding-in-the-box/#post-5842209)
 * Awesome, you are the man!
 *  Thread Starter [purveg](https://wordpress.org/support/users/purveg/)
 * (@purveg)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/decrease-padding-in-the-box/#post-5842210)
 * This may be unrelated to your plugin, but would also help me out since you seem
   to be on point with your recommendations. Are you able to tell me how to reduce
   the margin around my top logo and top ad banner? I’m on firebug but I can’t find
   exactly what I would need to change/add. Let me know, if not thanks again for
   the awesome plugin.
 *  [Boris Beo](https://wordpress.org/support/users/brs/)
 * (@brs)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/decrease-padding-in-the-box/#post-5842212)
 * Here you go:
 * Open up file `/wp-content/themes/Newspaper/style.css`
 * on line #532 find:
    `.header-logo-wrap {margin-top:20px;}`
 * change to:
    `.header-logo-wrap {margin-top:0;}`
 * on line #6554 find:
    `.td-a-rec-id-header {top:25px;}`
 * change to:
    `.td-a-rec-id-header {top:0;}`
 * This will move the logo and the banner up. as top margins disappear.
 *  Thread Starter [purveg](https://wordpress.org/support/users/purveg/)
 * (@purveg)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/decrease-padding-in-the-box/#post-5842370)
 * Wow thanks again, you are awesome! Is there some way I can give you a Bitcoin
   tip for your help? I have small little adjustments I’d like to make to my website,
   but I’m not great with CSS, if you’re interested in helping me out more, I’d 
   be willing to pay you a little for your time.
 *  [Boris Beo](https://wordpress.org/support/users/brs/)
 * (@brs)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/decrease-padding-in-the-box/#post-5842392)
 * You are welcome 😉
 * How about leaving a nice [review](https://wordpress.org/support/view/plugin-reviews/optin-forms)
   for the plugin?

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

The topic ‘Decrease padding in the box’ is closed to new replies.

 * ![](https://ps.w.org/optin-forms/assets/icon-256x256.png?rev=998391)
 * [Optin Forms - Simple List Building Plugin for WordPress](https://wordpress.org/plugins/optin-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/optin-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/optin-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/optin-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/optin-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/optin-forms/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Boris Beo](https://wordpress.org/support/users/brs/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/decrease-padding-in-the-box/#post-5842392)
 * Status: resolved