Title: Position Paypal button
Last modified: April 20, 2018

---

# Position Paypal button

 *  Resolved [Jane Milburn](https://wordpress.org/support/users/jane-milburn/)
 * (@jane-milburn)
 * [8 years ago](https://wordpress.org/support/topic/position-paypal-button/)
 * Hi, I am using a Twenty Seventeen child theme. I have searched online and in 
   forums but cannot find the answer to my question. I hope this is in the right
   forum. I could not find one for Paypal.
 * I cannot place a Paypal button where I want it on a page. It appears the default
   alignment is to the left. I have tried various HTML to position the button but
   with no results. Can anyone help me with this please?
 * I have also tried moving and resizing the image on the page but this doesn’t 
   help either. I have managed to position the button to the center by enclosing
   the button code in <div align=’center’>paypal code</div> but this doesn’t work
   when aligning it right and oddly, although the Add To Cart button does center
   the drop down menu stays on the left.
 * I would like the whole Paypal form, text, button and drop down menu to move to
   the right and further up the page underneath ART REF:
 * I would prefer to do this without a plugin.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fposition-paypal-button%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [8 years ago](https://wordpress.org/support/topic/position-paypal-button/#post-10204686)
 * The HTML order is incorrect, you have this stuff:
 *     ```
       UK shipping included.
       Please contact us for international and non standard shipping costs prior to  making your purchase.
       ```
   
 * Which is sitting below the image but above the the paypal stuff.
 * You cannot have 1) the image, 2) the “Uk shipping stuff” and 3) the paypall stuff
   in the order you want (1, 3, 2).
 *  Thread Starter [Jane Milburn](https://wordpress.org/support/users/jane-milburn/)
 * (@jane-milburn)
 * [8 years ago](https://wordpress.org/support/topic/position-paypal-button/#post-10205531)
 * Thanks for your reply Andrew. I’ve removed that text you mentioned and placed
   it on the right of the image. Is there anyway now I can move the Paypal button
   up and over to the right of the image rather than below it and underneath where
   it says about international shipping?
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [8 years ago](https://wordpress.org/support/topic/position-paypal-button/#post-10208493)
 * If you get rid of the empty paragraphs inside the form and inside the post, you
   should be able to achieve your layout with this additional CSS.
 * In the “Additional CSS” section of the dashboard add this:
 *     ```
       @media screen and (min-width: 880px) {
           form[target="paypal"] {
               float: left;
           }
   
           form[target="paypal"] table,
           form[target="paypal"] tbody,
           form[target="paypal"] tr,
           form[target="paypal"] td {
               display: block;
           }
   
           form[target="paypal"] table {
               padding-right: 1em;
           }
   
           form[target="paypal"] br {
               display: none;
           }
       }
       ```
   
 * _[https://codex.wordpress.org/CSS#Custom\_CSS\_in\_WordPress](https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress)_
 *  Thread Starter [Jane Milburn](https://wordpress.org/support/users/jane-milburn/)
 * (@jane-milburn)
 * [8 years ago](https://wordpress.org/support/topic/position-paypal-button/#post-10210514)
 * Hi Andrew, sorry but i’m not sure what you mean by “…get rid of the empty paragraphs
   inside the form and inside the post,…”.Could you explain further please?
 * Many thanks for the CSS. Unfortunately it is not working and i’m being told there
   are errors.
 * 1. Expected INDENT – form[target="paypal"] {
    float: left; } and Expected RBRACE
 * 3. Expected INDENT – form[target="paypal"] table,
 * 4. Expected INDENT – form[target="paypal"] table {
    padding-right: 1em; }
 * 5. Expected INDENT – form[target="paypal"] br {
    display: none; }
 *  I did try adding various text-indent css to try to fix it but i’m not having
   any luck. Can you help please?
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [8 years ago](https://wordpress.org/support/topic/position-paypal-button/#post-10212397)
 * I don’t understand how you’re getting those errors. Are you sure you’ve pasted
   the code right at the bottom of any existing code? If you take my suggested code
   away do the errors persist?
 *  Thread Starter [Jane Milburn](https://wordpress.org/support/users/jane-milburn/)
 * (@jane-milburn)
 * [8 years ago](https://wordpress.org/support/topic/position-paypal-button/#post-10222814)
 * Sorry for the delay in getting back to you. So I tried again the following day
   and no errors were shown, very odd! Now there are no errors and your code works,
   thank you so much 🙂

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

The topic ‘Position Paypal button’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/twentyseventeen/4.0/screenshot.
   png)
 * Twenty Seventeen
 * [Support Threads](https://wordpress.org/support/theme/twentyseventeen/)
 * [Active Topics](https://wordpress.org/support/theme/twentyseventeen/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/twentyseventeen/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/twentyseventeen/reviews/)

## Tags

 * [align](https://wordpress.org/support/topic-tag/align/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [paypal](https://wordpress.org/support/topic-tag/paypal/)
 * [Twenty Seventeen](https://wordpress.org/support/topic-tag/twenty-seventeen/)

 * 6 replies
 * 2 participants
 * Last reply from: [Jane Milburn](https://wordpress.org/support/users/jane-milburn/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/position-paypal-button/#post-10222814)
 * Status: resolved