Reply To: CSS to change whole site width

Home Forums Support CSS to change whole site width Reply To: CSS to change whole site width

Home Forums Support CSS to change whole site width Reply To: CSS to change whole site width

#203011
Jaakko Pöntinen

Hey Tom,

body {
overflow-x: hidden;
}

.home {
overflow-x: hidden;
}

Neither of these work, tried the .home for good measure although I don’t understand exactly why it could, would or should work. Just tried it.

Now the page displays correctly on mobile because no element on the page is set to a min-width (or remaining min-width rules have been nullified in the mobile specific CSS), so the blog fits snugly on a mobile browser.

Could it be considered mobile-responsive design if all of the visually presentable elements of the page would be wrapped inside a container after body? So that one could call upon all of the elements just-as-they-fit and leave crop the body with those measurements.

– JP

Jaakko Pöntinen / Mainio Mooses sp.
WordPress / WooCommerce development