I’m trying to adjust the width of my product page content. I want the content to be 80% of the screen width on desktop, but I want it to take up the full width of the screen on mobile devices.
I’ve added the following code to the Custom CSS section of my theme’s editor:
.page-width {
max-width: 80%;
margin: 0 auto;
padding: 0 1.5rem;
}
While this works as expected on desktop, the content appears to be compressed or smaller than the screen on mobile.