Hi,
I would like my individual blog post pages to be full width (stretch the entire width of the screen) to match the rest of my website.
After browsing the forums, I attempted adding this to functions.php, which did not work so I removed it.
function add_post_mysidebar($layout) {
if(is_singular(‘post’)){
$layout = ‘full-width’;
}
return $layout;
}
add_filter(‘x_option_x_layout_content’, ‘add_post_mysidebar’,999);
Then I tried adding this to the customizer as suggested with no luck. I have also removed that since it didn’t work.
.single-post .x-main.left {
width: 100%;
max-width: none;
}
.single-post aside.x-sidebar.right {
display: none;
}
.single-post .entry-content {
padding: 0 !important;
}
.single-post .entry-wrap .x-container.max {
min-width: 100%;
width: 100%;
}
.single-post .p-meta {
display: none;
}
Can someone please help?
Thank you.