How to change image banner text and button color on desktop without changing mobile

I like to change banner text and button color to white on desktop version only while keeping it black color on mobile version.

Mobile:

Desktop:

thanks

Hey @Fikson
Kindly share your Store URL and Password if enabled

Hiden.myshopify

Hiden

Hey @Fikson

Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find theme.liquid file
  4. Add the following code in the bottom of the file above tag

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Thanks a lot. Worked perfectly :grinning_face:

I works but it also changes button outline color on other components on desktop, like “add to cart” on product.

Can it only be made to banners?

Thanks,

Edit: found a way to fix it.

Replaced line “.button–secondary:after {” to “.banner__content .button::after {”