• Resolved erniegarcia

    (@erniegarcia)


    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)
  • 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

    (@erniegarcia)

    I placed the blog on a temporary domain here:

    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.

    I can’t see an Add To Cart button on that page.

    Thread Starter erniegarcia

    (@erniegarcia)

    It’s underneath “Price: $2.00”.

    Thread Starter erniegarcia

    (@erniegarcia)

    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.

    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

    (@erniegarcia)

    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.