Jump to content

Removing padding from Bootstrap theme "The Band" when viewed on mobile devices.


Recommended Posts

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 by brandin
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...