Hi All,
Wondering if you can help me out here. I was thinking about using media queries to auto resize the headings and text on breakpoints within Pro. I’m looking to have the text resize based on the breakpoints within pro to change the size, line height, etc on XL, LG, MD, SM, XS screens as defined in the builder.
Example:
@media only screen and (max-width: 980px-1200px) {
h1 {
font-size: 2.5em;
line-height: 1.15em;
}
}
@media only screen and (max-width: 768px-979px) {
h1 {
font-size: 2.5em;
line-height: 1.15em;
}
}
@media only screen and (max-width: 480px-767px) {
h1 {
font-size: 2em;
line-height: 1.25em;
}
}
Can you please let me know what classes to use to target the heading and text elements in Pro globally. This way I don’t have to add them to the element css all over the site. What I don’t want to do is have a heading/text for each breakpoint within the builder.
Let me know if I’m missing something here and doing way more work than I need too. Is there an easier way to do this?
Thanks,
Jonathan
