How to push classes declarations to the head ? (based on the breakpoint value for the queries) #234
-
Hi folks, Now, how can I add the delaration of my classes in the head of the email ?
Thanks a lot |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It seems that you have to write it on the headStyles : |
Beta Was this translation helpful? Give feedback.
It seems that you have to write it on the headStyles :
content: { data: { value: { breakpoint: '480px', headStyles = [ { content: " /* hide on desktop */ .desk-hide{ display:none; } ", }, { content: " @media only screen and (max-width: 480px){ /* show on mobile */ .desk-hide{ display: block; } /* hide on mobile */ .mob-hide{ display:none; } }", }, ] } } }