If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
March 10, 2011 at 3:31 pm #3393
Hello, can anybody help me with this?
I’m trying to turn my post page into a full width page – so no side bar or comments at the bottom. The post page would appear the same as a full width page template. So no need for a light box as the images will be full size…
TimMarch 11, 2011 at 6:07 am #42026
in single.php replace following code:
$k_option['custom']['bodyclass'] = ""; // $k_option['custom']['bodyclass'] = "class='fullwidth'";
$k_option['custom']['bodyclass'] = "class='fullwidth'"; //$k_option['custom']['bodyclass'] = "";
<?php get_sidebar(); ?>March 11, 2011 at 10:27 am #42027
Thanks, that has made the page full width and removed the side bar.
What I need to do now is have the image show as a full size image image (940 x 420) instead of it being the medium size image with the expanding light box as this is no longer needed.
Thanks again for your help.March 12, 2011 at 9:48 am #42028
The code which controls the images in single.php is near the top and looks like this:
$preview = kriesi_build_image(array('url'=>$preview,
So, it’s relatively easy to change the image size and link simply by changing a few details here, change the width and height to your new image size and remove the lightbox line to remove the lightbox popup.
You can see all the available parameters for the image display function in /framework/helper_functions/kriesi_build_image.php.
JamesMarch 13, 2011 at 10:46 pm #42029
I tried that and now when I click the ‘read more’ link in my portfolio page I am taken to a blank white page – in the address bar it shows http://www.electriclightbox.com/?p=287
I am getting a bit desperate as I rely on this portfolio site for my work. I was hoping that turning the post page into a simple full width page was not going to be difficult. If I cant resolve this I will have to buy another theme like ‘inFocus’ that offers a full width post page as an option.
Please help me create a simple full width page for my posts.
ThanksMarch 13, 2011 at 10:47 pm #42030
link does not workMarch 14, 2011 at 6:43 am #42031
The topic ‘Turn a post page into a full width page’ is closed to new replies.