Hello, i would like that all the articles in the portfolio had full width, without sidebars pages or any kind of sidebars.
Is that posible?
Thanks
Hello, i would like that all the articles in the portfolio had full width, without sidebars pages or any kind of sidebars.
Is that posible?
Thanks
Hmm.. Nice question .. Im also following ...
Making the Portfolio subpages full width is possible but requires a few edits.
Open up header.php and find this code:
$k_option['custom']['bodyclass'] = '';
and delete it.
Next, open up single.php and add this code before get_header();:
if( get_post_type() == 'portfolio' ) { ($k_option['custom']['bodyclass'] = "fullwidth"); }
This will set the page to full width and remove the sidebar if the page is a Portfolio individual page.
If you want your portfolio image to be full width, you'll need to edit the included PSD if you want to adjust the shadow on the bottom of the image. You also need to find and change this code:
$big_prev_image = kriesi_post_thumb($post->ID, array('size'=> array('L'),
'wh' => $k_option['custom']['imgSize']['L'],
'display_link' => array('lightbox'),
'linkurl' => array ('XL','_preview_big')
));
to this:
if( get_post_type() == 'portfolio' ) {
$big_prev_image = kriesi_post_thumb($post->ID, array('size'=> array('XL'),
'wh' => $k_option['custom']['imgSize']['XL'],
'display_link' => array('lightbox'),
'linkurl' => array ('XL','_preview_big')
));
} else {
$big_prev_image = kriesi_post_thumb($post->ID, array('size'=> array('L'),
'wh' => $k_option['custom']['imgSize']['L'],
'display_link' => array('lightbox'),
'linkurl' => array ('XL','_preview_big')
));
}
Let me know how you get on.
Thanks James, it works perfect!
I have just seen something wrong, and is that the fullwidth image now is pixelated since its size is duplicatted. Which is the best way to solve it?
Thanks
Hi!
When images are uploaded, they are resized by WordPress according to the image sizes set in functions.php.
If you have changed these, you have to re-upload the images so they are resized correctly.
Best regards,
James
Hello James i did all that but don´t success that the "main image" to be fullwidth and don´t be pixelated and the frame to be 100% wide too.
I just succed if i entry the image in the textfield, is possible to solve it with the "main image"?
You can see what i mean in:
http://creatibox.es/blog/?portfolio=eventus
On the other hand is possible to take out in these portfolio details the complete line: "Posted in: 1. FLASH, WEB- Ago 10, 2010 Comentarios desactivados"
Thanks before hand for your support!
Hello Ocon,
I experienced the same problem, but found a solution...
The code of James is not correct... Should be
if( get_post_type() == 'portfolio' ) {
$big_prev_image = kriesi_post_thumb($post->ID, array('size'=> array('XL'),
it's the "XL" that makes the difference... in stead of the "L"
Thanks for helping us out.
Hi,
I got the translation issues with the plugin WPML all resolved.
Out of the box the plugin will allow you to translate all your pages and posts. The custom posts "portfolios" and "sliders" won't work out of the box, but I have changed the code of the theme so that it all works perfectly. Took about 30 hours of work, but was worth it. You can see the results at: http://macdoctor.lu ... It speaks 5 languages :-)
Don't hesitate to contact me for more info at bruno@macdoctor.lu
Kind Regards,
Bruno van Branden
FULL WIDTH PORTFOLIO ITEM NO WORKING FOR ME
I tried changing the codes in single.php and header.php The sidebar disappear but the text and visible image remain the same width.
check here http://www.stevenpowellproductions.com/new/?portfolio=absolute-moon-youtube
Please let me know what I am doing wrong.
Thanks!
I just changed the content size to 930 in style.css
(
.content{
position: relative;
float:left;
width:930px;
padding:0 45px 0 0;)
but now I have the sidebar background image showing at the bottom of the pages that are not portfolio items, example
http://www.stevenpowellproductions.com/new/?page_id=37
any suggestion?
Please follow the instructions I posted here: http://www.kriesi.at/support/topic/fullwidth-portfolio-pages and revert all changes you did so far.
@dude
I followed all the instructions about making each portfolio item a full-width page, and I even edited the PSD file for shadow. But the lightbox (prettyphoto?) is not full width.
Can you please look at my site and tell me what i need to do?
http://orthodoxdaily.com/category/portfolio/allergy-asthma-associates-p-c/
Hey,
do you mean the frame around the image or the lightbox?
We can't easily control the size of the lightbox. It auto generates the window size depending on the image dimensions....
You must log in to post.