Avada › Forums › Community Forum › Button Background Image
Tagged: button backgrounds
-
AuthorPosts
-
Hi,
I am looking to create a background for the buttons via css. Anyone know how to do this?
I have this question too.
Not sure if you ever found a solution but I just fiddled with CSS till I got this and it worked. (I got the “.button-2” from the browser inspector, so you have to look at what your button is specifically.):
.fusion-button.button-2 {
background-image: url(“yourbgimage.jpg”) !important;
background-size: contain !important;
padding: 30px 11px;
color: #ffffff !important;
}
.fusion-button.button-2:hover {
background-image: url(“yourhoverbgimage.jpg”) !important;
background-size: contain !important;
padding: 30px 11px;
color: #BFD730 !important;
}You might not need all the !important that I used.
-
AuthorPosts
- You must be logged in to reply to this topic.