Solved

Why does my website button look different on desktop and mobile?

atm19
Excursionist
41 0 3

Hello, can someone please help me out? I want that the button (on the image) on detskop looks like the one on my mobile version. I don't know why if there is the same theme it looks different. I want that the button has only the white line and white text without any backround (mobile version) 

 

website: www.taneau.com

IMG_8382.jpeg

IMG_8381.png

Accepted Solution (1)

sahilsharma9515
Shopify Partner
839 100 150

This is an accepted solution.

Hi @atm19 Please add the code in your theme.css/base.css/style.css file which is available in your theme.

 

a.button.button--secondary {
    background-color: transparent !important;
}

 

If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
  6. You can add the above code at the bottom of the file.

Result:

sahilsharma9515_0-1709727508382.png

If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


View solution in original post

Reply 1 (1)

sahilsharma9515
Shopify Partner
839 100 150

This is an accepted solution.

Hi @atm19 Please add the code in your theme.css/base.css/style.css file which is available in your theme.

 

a.button.button--secondary {
    background-color: transparent !important;
}

 

If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
  6. You can add the above code at the bottom of the file.

Result:

sahilsharma9515_0-1709727508382.png

If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️