Title: Button Position Issue
Last modified: August 24, 2016

---

# Button Position Issue

 *  Resolved [usc1787](https://wordpress.org/support/users/usc1787/)
 * (@usc1787)
 * [11 years ago](https://wordpress.org/support/topic/button-position-issue-1/)
 * Hello,
 * Thank you for a great plugin. It does exactly what I am looking for. I am having
   an issue with the placement of the button. I would like it to display next to
   the add to cart button but it is way off. Is this because of my theme? I have
   attached a picture what it currently looks like and how I want it to look. Please
   let me know your thoughts – Thanks
 * Default Position – [http://imgur.com/7ZRhBCM](http://imgur.com/7ZRhBCM)
 * Position I would like – [http://imgur.com/49uwLrX](http://imgur.com/49uwLrX)
 * [https://wordpress.org/plugins/offers-for-woocommerce/](https://wordpress.org/plugins/offers-for-woocommerce/)

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

 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [11 years ago](https://wordpress.org/support/topic/button-position-issue-1/#post-6131410)
 * Unfortunately, to do what you’re asking requires some jQuery trickery because
   the hooks that WooCommerce provides for placing a button only places it above
   or below the Add to Cart button as opposed to right next to it like you’re wanting.
 * With some jQuery magic you can inject the button into the same div that the Add
   to Cart button is in, and then adjust some CSS to get it looking just like you
   want. We actually did that with our PayPal for WooCommerce plugin to make the
   Express Checkout button on product pages show up next to it just like you’re 
   showing here. We had some complaints from some people, though, because it throws
   off the typical hooks used with WooCommerce when you do that.
 * I’ll have to dig back through my PayPal for WooCommerce code to remember exactly
   how I did that and then I can get you an update on that. I’m just about to leave
   for a while, but I wanted to at least respond. When I get back I’ll look that
   up and give you some code you could place in your functions.php file that should
   do the trick.
 *  Thread Starter [usc1787](https://wordpress.org/support/users/usc1787/)
 * (@usc1787)
 * [11 years ago](https://wordpress.org/support/topic/button-position-issue-1/#post-6131416)
 * Thanks for your quick reply. Yeah that would be great if you could do that. I
   just think it looks a lot more cleaner this way and wasn’t sure how to go about
   doing it. Looking forward to your reply.
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [11 years ago](https://wordpress.org/support/topic/button-position-issue-1/#post-6131508)
 * I have added this our [1.1.3 milestone on GitHub](https://github.com/angelleye/offers-for-woocommerce/milestones/1.1.3),
   which we plan to have completed within a couple of weeks. It’ll probably be best
   to wait until that’s available.
 * I am going to go ahead and close this ticket, but just keep your eye out for 
   that update and it will include a new option in the “Button Position” configuration
   within the settings so you can place it where you’re wanting to.
 *  Thread Starter [usc1787](https://wordpress.org/support/users/usc1787/)
 * (@usc1787)
 * [11 years ago](https://wordpress.org/support/topic/button-position-issue-1/#post-6131529)
 * OK, sounds good. Thanks for the info. I will keep an eye out for the update.
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [11 years ago](https://wordpress.org/support/topic/button-position-issue-1/#post-6131587)
 * We have released the 1.1.3 update which includes the option to display the offer
   button directly to the right of the add to cart button. 🙂
 *  Thread Starter [usc1787](https://wordpress.org/support/users/usc1787/)
 * (@usc1787)
 * [11 years ago](https://wordpress.org/support/topic/button-position-issue-1/#post-6131590)
 * Thanks for the update and your work. It is working very well. I did have to add
   a left margin to separate the offer button from add to cart button. I’m guessing
   it had to do with my theme.
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [11 years ago](https://wordpress.org/support/topic/button-position-issue-1/#post-6131591)
 * Yes, subtle adjustments may still be necessary to get exactly what you want depending
   on your theme, but it sounds like you’re there now. Glad to hear it!

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

The topic ‘Button Position Issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/offers-for-woocommerce_edefee.svg)
 * [Offers for WooCommerce](https://wordpress.org/plugins/offers-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/offers-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/offers-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/offers-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/offers-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/offers-for-woocommerce/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [angelleye](https://wordpress.org/support/users/angelleye/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/button-position-issue-1/#post-6131591)
 * Status: resolved