24
votes
Use Narrow Layout Content Max Width for row block width
When adding a block, in addition to being able to choose "Use theme content inner width" it would also be nice to be able to select the "Narrow layout content max width" set in the customizer. With the current custom content max width option, there's no way to standardize the max width if it's anything other than the inner theme width.
One Comment
Leave a Reply
You must be logged in to post a comment.



Great suggestion! I always miss this function in Kadence and think it should be part of their standard settings. Until Kadence implements this, you could follow this strategy:
Add this to your custom CSS:
/* Sidewide global content narrow width by using the class “global-content-narrow-width” on a row */
.global-content-narrow-width .kt-row-column-wrap {
max-width: var(–global-content-narrow-width);
margin-left: auto;
margin-right: auto;
}
Then use the class “global-content-narrow-width” on the row where you want this to apply. It’s not ideal as this will show the section of the row wider as it is in your WordPress/Kadence editor. But on the front it works. And if you want to change the value of the global content narrow with, just go to Appearance > Customize > General> Layout and set your preferred “Narrow Layout Content Max Width”.