How can I add texture to the background of a button?

Highlighted
Tourist
22 0 0

Hello, I know the first thing to do is upload a png to asset and get the url

Then I added something like this to theme.css but could display the texture....

div#CollectionSection-1525295772132 a.btn.btn--secondary.btn--small {
background: url("cdn.shopify.com/s/files/1/0461/2223/8110/t/40/assets/Gold-Foil-Texture1_small.png");
border-color: #dfaf78;
}

Could anyone please suggest anything wrong?

0 Likes