Title: Button in JS Toggle
Last modified: October 6, 2021

---

# Button in JS Toggle

 *  Resolved [agamelas](https://wordpress.org/support/users/agamelas/)
 * (@agamelas)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/button-in-js-toggle/)
 * hi!
 * The link for then option Jquery Slide Toggle is too small.. is it possible to
   turn it into a button?

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

 *  [Little Package](https://wordpress.org/support/users/littlepackage/)
 * (@littlepackage)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/button-in-js-toggle/#post-14944142)
 * Thanks for your question. It is definitely possible to customize the look of 
   this free plugin. Since this is a free plugin which I volunteer to support in
   my “spare time,” I leave that up to users and their developers to sort out.
 * Any HTML link (`<a>`) can be turned into a button using CSS. You could use code
   like this:
 *     ```
       .wc-giftwrap .giftwrap_header_wrapper a {
           background-color: darkturquoise;
           border: 1px solid darkturquoise;
           color: white;
           cursor: pointer;
           display: inline-block;
           font-size: 20px;
           margin: 1em 0;
           padding: .5em 1em;
           text-align: center;
       }
       ```
   
 * Obviously you’ll need to style it to match other buttons in your theme, and match
   the :hover styles, so borrow some CSS from your theme. I Googled “how to style
   HTML link like a button” and came up with lots of advice. You will need to sort
   out [how to add additional CSS to your theme](https://www.google.com/search?client=firefox-b-1-d&q=add+additional+css+to+wordpress+theme).
 * Ultimately you can either use CSS or the included templating system to make the
   wrap prompts more prominent. If the code above doesn’t work, and you don’t know
   any code and don’t have time to learn, hand it over to a developer. Don’t have
   anyone? Check out [https://jobs.wordpress.net/post-a-job/](https://jobs.wordpress.net/post-a-job/)
 * Best of luck with your project!
    -  This reply was modified 4 years, 7 months ago by [Little Package](https://wordpress.org/support/users/littlepackage/).
      Reason: remove tags in post
 *  Thread Starter [agamelas](https://wordpress.org/support/users/agamelas/)
 * (@agamelas)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/button-in-js-toggle/#post-14944493)
 * Thanks! Done it!

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

The topic ‘Button in JS Toggle’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-gift-wrapper/assets/icon-256x256.gif?rev=2682739)
 * [Gift Wrapper for WooCommerce](https://wordpress.org/plugins/woocommerce-gift-wrapper/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gift-wrapper/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gift-wrapper/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gift-wrapper/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gift-wrapper/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gift-wrapper/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [agamelas](https://wordpress.org/support/users/agamelas/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/button-in-js-toggle/#post-14944493)
 * Status: resolved