Can you help me with the custom css mobile view button?
Hi @marketingapt1b ,
This is Richard from PageFly - Landing page builder, Iād like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/theme.css->paste below code at the bottom of the file:
@media screen and (max-width: 749px) {
#shopify-section-template--17873265492264__1653646142d6a7c886 .button {
background-color: #94ab4f;
border: 0px;
color: #ffffff;
}
}
I hope it would help you
Best regards,
Richard | PageFly
Hi @marketingapt1b ,
You need to remove your code first. Because this css is working for all devices
I hope it would help you
Best regards,
Richard | PageFly
What do you mean? That code works only in that section.
Hi @marketingapt1b ,
This your active code for all devices (Desktop, laptop, mobile)
My code below works only on mobile:
@media screen and (max-width: 749px) {
#shopify-section-template--17873265492264__1653646142d6a7c886 .button {
background-color: #94ab4f;
border: 0px;
color: #ffffff;
}
}
If you just want that custom css button on mobile then you can use my code.
Best regards,



