Full width posts not working

Hi, I’m using the Renew stack and I have Customizer > Blog > Layout set to Full Width but my posts still are not showing at full width.

For example, see this post: https://tinyurl.com/yb8g23uy

I’ve cleared both server and browser cache.

Any idea what’s happening here? Thank you.

Hi,

To make your single post full width, you can add the code below in your child theme’s functions.php file


function make_post_fullwidth($layout) {  
   if(is_singular('post')) {      
       $layout = "full-width";
   }
  return $layout;
}

Hope that helps.

Hi,

Please see screenshot

Please let us know if it works for you.

Thanks

Thanks for the fast response. Unfortunately this code didn’t seem to change the post width.

I’ve cleared both browser and server cache.

Hi there,

Please try to go to X > Launch > Theme Options > Layout and Design > Content Layout: Fullwidth.

Hope this helps.

That did it, thanks.

Curious, why is there 2 different sections for this area? i.e. the one you referenced that fixed the issue but also this area: Customizer > Blog > Layout

Hi there,

That is for the actual blog page and not the single blog post pages.

Hope this helps.

Right, just seems like confusing UX.

Sorry for the issue you are facing in the UX part. We will look on to it.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.