I added this code at the end of the base.css file. Initially, it worked perfectly, but after a few days, it suddenly stopped applying on the laptop screen — although it still works fine on mobile.
I can see the updated styling on mobile, but not on the laptop.
I also tried changing the button color from the theme settings, but that doesn’t seem to affect this button either.
Can anyone help me understand why this is happening and how I can fix it?
Can you please help me how can i resolve this isuue?
Thanks for getting back to me. Here’s the website URL: https://amsonsdesign.au/.
It seems that none of the custom CSS is working on the laptop — not just the Add to Cart button.
Thanks for getting back to me. Here’s the website URL: https://amsonsdesign.au/.
It seems that none of the custom CSS is working on the laptop — not just the Add to Cart button.
Here is the final part of your assets/base.css – I’ve reformatted it a bit to better show nesting.
You should be careful with curly braces and each opening brace must have a matching closing one.
Here we see that you have opening brace on the first line, but it has no closing one, meaning that your code for product form submit button is also inside this media query and apllies only on narrow screen.
Also, there is no closing brace for .card-wrapper .badge rule which makes it a bit weird.
Since all this code is a customization, you need to decide where to close these rules/