Home>Support>Make Button transparent with only image icon

Make Button transparent with only image icon

Hello

Like the thread header says, I need a bit of assistance with making SiteOrigin Button transparent with only uploaded image icon. How could I do that?
Thanks!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Kalle,

    Open your SiteOrigin button widget up, open the Design and Layout settings group and set the button theme to Flat.

    Is that what you were after?

  2. 8 years, 4 months ago kalle69

    Hi Alex, thank you for the reply!

    I’ve tried you solution, but it lefts border for the button. I just want only image icon without any borders, maybe a little shadow when hover.

    I also need to make the button higher.

    Basically I need to modify the appearence of the button through css or something. I didn’t find suitable code in style.css.

  3. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Kalle,

    If that’s the case, please set the style to wire. Once you’ve done that head over to the widget styles sidebar and open the attributes group. Set the class as no_border and then save the page.

    Then to add the required CSS please navigate to If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Just add the following code.

    .no_border .ow-button-hover {
    	border: none !important;
    }
    
    .no_border .ow-button-hover:hover {
    	background: none !important;
    }
    

    You might also need to install the SiteOrigin CSS Editor.

  4. 8 years, 4 months ago kalle69

    Thank you Alex!

    I’ve now managed to loose the border of the button, but I still need to adjust the height of the button to fit the image icon. How can I do that?

  5. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Kalle,

    You can do this by adding the following CSS:

    .no_border .ow-button-hover {
        width: 100px;
        height: 45px;
    }
    

    Please note you’ll need to make adjustments to the CSS.

    You might also need to install the SiteOrigin CSS Editor.

  6. 8 years, 4 months ago kalle69

    Very interesting. It changes the height of the button, but the image icon is still not fully visible, eventhough the button is much higher than the image icon.

  7. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Kalle,

    Do you have a public URL where we can take a look at what’s going on? If you need to keep this URL private from other users, just select “Private Reply” on the bottom right of the comment box.

  8. 8 years, 4 months ago Private Message - kalle69

    This is a private message.

  9. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Kalle,

    I stand corrected. Please replace:

    .no_border .ow-button-hover {
        width: 100px;
        height: 45px;
    }
    

    With:

    .no_border .sow-icon-image {
    	height: 45px !important;
    }
    

    Regardless upon inspection of your button, you would likely be better off with a simple image link as that’s basically all it is.

  10. 8 years, 4 months ago kalle69

    Thanks Alex! As you already know, it worked!

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More