Hi, is there a way to remove text and buttons from the “Image with Text overlay” - on MOBILE only?
Is there a custom CSS code I can enter?
Using Flex theme from out of the sandbox
Hi, is there a way to remove text and buttons from the “Image with Text overlay” - on MOBILE only?
Is there a custom CSS code I can enter?
Using Flex theme from out of the sandbox
Hello @myrthe
Could you please share your store url ( with pass if your store password is enabled ) then I can see and suggest something for you?
Best regards,
GemPages Support Team
Hi @myrthe
This is Victor from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css.
Step 3: Paste the below code at bottom of the file → Save
@media screen and (max-width: 767px){
.image-with-text__text.rte.body, a.button.button–primary {
display: none;
}
}
Hope that my solution works for you.
Best regards,
Victor | PageFly
can you please share store url so i will check and let you know
Hello There,
Please share your store URL and Password.
So that I will check and let you know the exact solution here.
Hello there
To hide text on mobile devices only in a Shopify store using the Flex theme, you can use media queries in your CSS. Here’s an example of how you might do this:
@media only screen and (max-width: 480px) {
/* Add your mobile-specific styles here */
}
@media only screen and (max-width: 480px) {
.hide-on-mobile {
display: none;
}
}
This text will be hidden on mobile devices
hope this helps!