I was watching a video on The Admin Bar (a great resource) about setting up GeneratePress, and Kyle Van Deusen was explaining how he always boxes his websites but in a way where they seem to be 100% wide for the average user. Doing this prevents images and other effects from spreading super wide on large screens. Basically, this is the “boxed” switch in Avada with a twist. In Avada, the box is set to your content width, so a lot of the expansive effects are lost (images and section separators). I was wondering how hard this would be in Avada, and as usual, it is not. Two style entries in your global styles and your set. I applied this to my site. The boxed width is now 2000px and the internal content width — set in the Avada options — is 1440px. I set a color (#252525) on the body to distinguish it from the page background color in Avada. The only anomaly I have seen so far is in the live editor, where section separators appear to go on forever, but they are constrained when viewing the website.
One note. If you fix the overflow issue related to Safari using sticky columns by setting the overflow to visible, the section separator (triangle) will escape the bounds of the #box-wrapper.
body{
background-color:var(--awb-color7)!important;
}
#boxed-wrapper{
width: 100%;
margin-inline:auto;
max-width: 2000px!important;
}
A quick video demonstrating the effect.
Originally published on July 30, 2022