Title: button image
Last modified: September 2, 2023

---

# button image

 *  [agolollo09](https://wordpress.org/support/users/agolollo09/)
 * (@agolollo09)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/button-image-2/)
 * Hi everyone, I would like a button to have an image as a background.
   It’s possible?
   I tried to search on Google but it doesn’t work.ThanksLorenzo

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

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/button-image-2/#post-17020458)
 * Sure you can. But how you implement it depends on the context in which you need
   it? A little more information about your project and perhaps a link to the page
   where you want to add it would help you.
 *  Thread Starter [agolollo09](https://wordpress.org/support/users/agolollo09/)
 * (@agolollo09)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/button-image-2/#post-17020480)
 * Hi threadi, thanks for your reply.
 * I want to put an image into a button that links the home page to another page
   on the same website.
 * The website is [carlinifd.it](http://carlinifd.it)
 * Thanks
 *  [rohitmukati](https://wordpress.org/support/users/rohitmukati/)
 * (@rohitmukati)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/button-image-2/#post-17020483)
 * Hello [@agolollo09](https://wordpress.org/support/users/agolollo09/) 
   This is
   example of an image as a background you may try this.
 *     ```wp-block-code
       <html>
           <head>
               <style type="text/css">
                   .button{
                       background: url(/image/btn.png) no-repeat;
                       cursor:pointer;
                       border: none;
                   }
               </style>
           </head>
           <body>
               <input type="button" name="button" value="Search" class="button"/>
               <input type="image" name="button" value="Search" class="button"/>
               <input type="submit" name="button" value="Search" class="button"/>
       <button type="button" class="button">Click Me!</button>
   
           </body>
       </html>
       ```
   
    -  This reply was modified 2 years, 9 months ago by [rohitmukati](https://wordpress.org/support/users/rohitmukati/).
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/button-image-2/#post-17020494)
 * [@agolollo09](https://wordpress.org/support/users/agolollo09/): And which buttons
   do you mean there exactly? There are very many on this page.
 * Keep in mind that you are using Themeisle as your theme and PageBuilder. Therefore,
   every solution for your wish depends on this product. The code mentioned by [@rohitmukati](https://wordpress.org/support/users/rohitmukati/)
   is correct in terms of content, but will not help you with your request. You 
   should rather contact the Themeisle support: [https://themeisle.com/contact/](https://themeisle.com/contact/)
 *  [niyaswp](https://wordpress.org/support/users/niyaswp/)
 * (@niyaswp)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/button-image-2/#post-17024078)
 * Hi [@agolollo09](https://wordpress.org/support/users/agolollo09/)
 * Please try this code:-
 *     ```wp-block-code
       body .wp-block-themeisle-blocks-button a  {
         background-image: url(http://carlinifd.it/wp-content/uploads/2023/07/IMG_4105photo-1-819x1024-2.jpg);
         background-repeat: no-repeat;
         background-size: cover;
         background-color: unset;
       }
       ```
   
 * You need to change the image as required.

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

The topic ‘button image’ is closed to new replies.

## Tags

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [images](https://wordpress.org/support/topic-tag/images/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 6 replies
 * 4 participants
 * Last reply from: [niyaswp](https://wordpress.org/support/users/niyaswp/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/button-image-2/#post-17024078)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
