Shopify themes, liquid, logos, and UX
Hi there. Regarding my webmobilepage. I changed colour of font on top slide but want to change colours on the buy button (in same way that its customisable on desktop). It's currently black and white.
Can someone please help with some code? Site:www.kawa.mx
(By the way, anyone know a way toadd a container onmobile slide?)
TIA!
Solved!Go to the solution
This is an accepted solution.
@media only screen and (max-width: 749px) { .button.button--primary { background-color: #ff0000; --border-offset: #f00 !important; color: #fff; }}
Replace this css at the previous css of Online Store->Theme->Edit code->Assets->base.scss.liquid
and its useful please like and accept solution
thanks
@grindlery
Hello,
@media only screen and (max-width: 749px) { .button.button--primary { background-color: #f00; }
Add this css at the bottom of Online Store->Theme->Edit code->Assets->base.scss.liquid
Like this
Thanks so much! And how can I change the border and text colour on that button?
This is an accepted solution.
@media only screen and (max-width: 749px) { .button.button--primary { background-color: #ff0000; --border-offset: #f00 !important; color: #fff; }}
Replace this css at the previous css of Online Store->Theme->Edit code->Assets->base.scss.liquid
and its useful please like and accept solution
thanks
awesome thank you!
Thanks. When I add the code, it also changes the colour of my 'add to cart' button specifically for subscription items. See product 'kawa's pick' for example. Can this be amended?
User | 排名 |
---|---|
103 | |
70 | |
68 | |
43 | |
39 |
Understanding common issues causing Shopify Payment's payout failures can help you quickly...
ByTrevor Oct 19, 2023Discover how to effectively use the Shopify Community forum. Learn tips for creating new t...
ByTrevor Oct 11, 2023It’s never too early to spot the Christmas trees adorning your block or the wreaths hangin...
ByJasonh Oct 5, 2023