3

This is how the current multi-button looks like on my page enter image description here

however I want to override not just the styling, but also change the text and or the make the button an image. Something like this:

enter image description here

2 Answers 2

2

Step 1: Create a wallet.css file copy past the following snippet in the CSS file:

 .wallet-button{
    border: 2px solid black !important;
    color: black !important;
 }
  
 .wallet-button:hover {
   border: 2px solid grey !important;
   color: white !important;
 }

Step 2: Import CSS file in the component (make sure path to file is correct):

import "./wallet.css";

Step 3: Add class in WalletMultiButton component:

<WalletMultiButton  
   className="wallet-button"  
/>
1
  • Now, you can play with CSS as per your requirements. Commented Nov 5, 2022 at 20:37
0

you can find a good example of wallet customizing here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.