New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different styles for Desktop and Mobile. #315
Comments
I'm also very interested in this. What I'm looking to be able to do is hide elements on the mobile or desktop. The example might be, on desktop show an image but hide on mobile, or show a link to a mobile app in a mobile email client but hide that on a desktop client. |
Hey if you need that i think you can implement some kind of button when click will add this media query and in the block you can add Here is the original link mjmlio/mjml#770 (comment) And the code that will work for mjml version > 3
|
Thanks for this. I'm new to GrapeJS so hopefully my follow up questions can be just directed to documentation (that I couldn't find).
My next step if I can get those two items figured out is figuring out how to make a custom button instead of raw "css-class" that was an option of "show mobile/show desktop/show all" Thanks! |
I need to give different styles for Desktop and Mobile.
I also referred to the link below -
GrapesJS/grapesjs#3056 (comment)
but the responsive design feature is only applicable to the webpage plugin and not to the MJML plugin.
Any idea how to achieve this or is this a feature that needs to be added?
Please help!
The text was updated successfully, but these errors were encountered: