Home › Forums › Support › Fonction (Filter ?) pour definir un layout par defaut This topic has 3 replies, 2 voices, and was last updated 2 years, 5 months ago by Fernando. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts October 20, 2022 at 12:28 am #2379605 Jean Hello 🙂 I’m looking in the documentation for the hook that would allow me to set the default full-width layout for all my content. Thanks in advance ! October 20, 2022 at 12:36 am #2379615 Fernando Customer Support Hello Jean, The layout element simply adds a class to the body, so you could do this: add_filter( 'body_class', function( $classes ) { $classes[] = 'full-width-content'; return $classes; } ); Or, you can just add your own CSS. October 20, 2022 at 6:17 am #2379932 Jean Hello ! yeah… thanks for your quick answer. I prefer filters 🙂 Regards. October 20, 2022 at 4:53 pm #2380565 Fernando Customer Support You’re welcome Jean! Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In