Avada Forums Community Forum Button Background Image

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • forthartley
    Participant
    Post count: 3

    Hi,

    I am looking to create a background for the buttons via css. Anyone know how to do this?

    satzzeichen
    Participant
    Post count: 13

    I have this question too.

    myalkut
    Participant
    Post count: 10

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.