Changing default container padding on mobile

Hi
I’m frequently using full-width containers on my site, and I adjust the left and right padding on mobile to 20px. Is there a code snippet I can use to make this the default?
Thanks
Shaun

Hi, Yes you can do this with CSS, however you can also accomplish this with Global Styles. Look at this thread and Video in particular.

If you want to use CSS instead it should be something like this.

@media (max-width:768px) {
.gb-container {
	padding-left: 20px;
	padding-right: 20px;
    }
}
1 Like