brandin Posted November 15, 2015 Share Posted November 15, 2015 (edited) When viewing this theme on a mobile device, text is reduced to one word per line because of the following: .container { padding: 80px 120px;} My problem is that I'd like to keep this padding when viewed on a desktop/laptop, but it needs to be set to 0 when viewed on a phone. I've tried the following, with no results: @media (max-width: 767px) { .container { padding: 0; } } Any ideas? I'm new to CSS, btw. Any help would be greatly appreciated. Edited November 15, 2015 by brandin Link to comment Share on other sites More sharing options...
dsonesuk Posted November 15, 2015 Share Posted November 15, 2015 It would have been a better option not to touch bootstraps responsive padding for .container element, but create your own custom div with a class to apply this padding instead within the .container element itself. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now