Home › Forums › Support › Format button in WooCommerce Add to Cart shortcode This topic has 10 replies, 2 voices, and was last updated 7 years ago by Leo. Viewing 11 posts - 1 through 11 (of 11 total) Author Posts October 17, 2017 at 4:21 am #404765 Roland Hi I’m using the WC [add_to_cart id=”99″] shortcode. It works fine but there is zero gap between the price text and the “Add to Cart” button. Can I add some styling to the shortcode to add some padding just around the button? Many thanks Roland October 17, 2017 at 8:54 am #404997 LeoStaff Customer Support Hi there, Can you link me to the page? Thanks! October 17, 2017 at 10:28 am #405073 Roland Website is not public for now but here is a screenshot of the price/button that the shortcode is producing https://drive.google.com/open?id=0B-ehNXLv14sUbFpZRXlteE5DZFU October 17, 2017 at 10:29 am #405075 Roland Thanks for helping Leo – appreciate it. October 17, 2017 at 12:34 pm #405145 LeoStaff Customer Support Can you edit the original post and add in the website link? Only admins (Tom and I) can see it. It’s much easier that way so I can nail down the CSS. Thanks! October 21, 2017 at 8:08 am #407551 Roland Hi Leo I added the link. Can you see it? I’m running the UnderConstruction plugin. Cheers October 21, 2017 at 8:32 am #407563 LeoStaff Customer Support Can you turn it off so I can see the site? Thanks! October 21, 2017 at 9:53 am #407595 Roland Done – thanks Leo October 21, 2017 at 11:38 am #407625 LeoStaff Customer Support Try this CSS: .woocommerce a.button { margin-left: 10px; } October 22, 2017 at 7:42 am #407896 Roland Thanks Leo, that works. Appreciate your help with this. October 22, 2017 at 9:30 am #407985 LeoStaff Customer Support No problem! Author Posts Viewing 11 posts - 1 through 11 (of 11 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In