nevermind, I figured it out. For anyone that may be having a similar issue, the solution is to remove
<div class=”otw-six otw-columns”>
<?php get_sidebar(); ?>
</div>
from lines 95-97
cv
(@catsvisual)
hey… i have the same issue.. where should i edit this code..??
In otw-portfolio-post.php
Remove
<div class=”otw-six otw-columns”>
<?php get_sidebar(); ?>
</div>
from lines 95-97
I’m sorry, but how do you make it full width? By removing the sidebar naturally the side bar disappears but the rest of the content doesn’t scale to fill the empty space. How can I accomplish that?
I’m using the theme Hatch, if it’s worth any note.
the solution is to remove
<div class=”otw-six otw-columns”>
<?php get_sidebar(); ?>
</div>
from lines 95-97 in otw-portfolio-post.php
Hi Schmarzwalder,
Appart from removing those lines you need to change the css to:
.otw-eighteen, .otw-row .otw-eighteen {
width: 100%;
}
instead of 75% that is how is set by default.
Hope it helps!
Hi harperandhenry,
I was wondering if you made those changes in the plugin files or if you copied the plugin templates onto your theme’s folder along with the rest of the .php files and you performed the changes there.
I am asking you because I did it that way (I copied the files onto my theme’s folder) and I can change anything I want, but I can’t visualize the result of that change π
Many thanks in advance!
I’ve found the reason why it wasn’t working… Everything is explained in this thread: http://ww.wp.xz.cn/support/topic/modifying-template-files
Thank you!
So glad I found this thread.
Deleting the PHP code and adding the css code worked for me in as much as the text and image buttons are now full width but the image itself is still 700 x 420 when it should be 1000 x 600.
Via the Portfolio Settings I updated the Portfolio Image Size (Single) to 1000 x 600 and in the otw-portfolio-light.php file I changed the following:
get_option(‘otw_pfl_img_size_w’, ‘1000’)
get_option(‘otw_pfl_img_size_h’, ‘600’
add_image_size(‘otw-porfolio-large’, get_option(‘otw_pfl_img_size_w’, ‘1000’), get_option(‘otw_pfl_img_size_h’, ‘600’)
But the image is still being displayed at 700×430 and when I inspect the image via FireFox i’m informed it is 1,000px Γ 600px (scaled to 700px Γ 420px).
Any idea what I need to do to fix this last issue? You can see my page at:
http://mcddesign.co.uk/otw-portfolio/newcastle-city-library/
that is very helpful, thanks!
Hi Schmarzwalder,
Appart from removing those lines you need to change the css to:
.otw-eighteen, .otw-row .otw-eighteen {
width: 100%;
}
instead of 75% that is how is set by default.
Hope it helps!