Title: Margin Value Problem
Last modified: August 19, 2016

---

# Margin Value Problem

 *  Resolved [erniegarcia](https://wordpress.org/support/users/erniegarcia/)
 * (@erniegarcia)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/margin-value-problem/)
 * I am trying to change the following line of code within style.css, so that I 
   can properly align a PayPal add to cart button.
 * .post_content input { margin:-6px 0px 10px 0px; }
 * I need to change the “-6px” value to “-9px”, however the template does not register
   changes beyond -6px. I am new to CSS, and can’t figure out why this change won’t
   register. Perhaps it’s being overruled by another setting somewhere.
 * My site uses the monochrome theme, however it is still being custom skinned and
   recoded, and isn’t viewable. Any help would be much appreciated.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/margin-value-problem/#post-1583182)
 * Unless you provide a link to a page demonstrating the problem, no one will be
   able to offer much in the way of specific help.
 *  Thread Starter [erniegarcia](https://wordpress.org/support/users/erniegarcia/)
 * (@erniegarcia)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/margin-value-problem/#post-1583241)
 * I placed the blog on a temporary domain here:
 * [http://ephemurl.com/1d/dn](http://ephemurl.com/1d/dn)
 * As stated above, I need to decrease the space between the PayPal Add To Cart 
   button, and the text above it. The top margin for the element however seems to
   be maxed out at -6px, and won’t increase beyond that.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/margin-value-problem/#post-1583254)
 * I can’t see an Add To Cart button on that page.
 *  Thread Starter [erniegarcia](https://wordpress.org/support/users/erniegarcia/)
 * (@erniegarcia)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/margin-value-problem/#post-1583262)
 * It’s underneath “Price: $2.00”.
 *  Thread Starter [erniegarcia](https://wordpress.org/support/users/erniegarcia/)
 * (@erniegarcia)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/margin-value-problem/#post-1583273)
 * It’s a custom “Add To Cart” PayPal button, which blends in with the overall text.
   Click “Add To Cart”, and you will see that it is active.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/margin-value-problem/#post-1583281)
 * Ah – I thought the image was missing. 🙂
 * Try adding:
 * `form{margin:-5px 0 -1em;}`
 * to the bottom of your stylesheet. Ideally, you need to add a class to that form
   so you can target the styling a little more specifically rather than impacting
   on every form across the site.
 *  Thread Starter [erniegarcia](https://wordpress.org/support/users/erniegarcia/)
 * (@erniegarcia)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/margin-value-problem/#post-1583289)
 * It worked. Thanks a lot esmi!

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

The topic ‘Margin Value Problem’ is closed to new replies.

 * 7 replies
 * 2 participants
 * Last reply from: [erniegarcia](https://wordpress.org/support/users/erniegarcia/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/margin-value-problem/#post-1583289)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
