What's the javascript code to change the style to this?
`@media only screen and (max-width: 480px)
.contentpageDefaultLandingPageTemplate .contentRoot {
width: 320px !important;
}
`
I want to make it as width: 100% !important.
What's the javascript code to change the style to this?
`@media only screen and (max-width: 480px)
.contentpageDefaultLandingPageTemplate .contentRoot {
width: 320px !important;
}
`
I want to make it as width: 100% !important.
Copyright © 2021 Jogjafile Inc.
I guess you are asking about the javascript implementation of the CSS code. If that's the case, below is the javascript for the CSS