Hi, I have mounted a "portfolio" in 4 columns as in this example http://www.kriesi.at/themes/choices/template-files/portfolio-4-columns/ but my client asks me if the image can take up less space to give more space to the text. Is this possible? Currently outstanding image occupies 2/3 and text third. Can we reverse this proportion?
4 columns Portfolio Properties & Change distribution of space in the template
6 posts from 3 voices-
Posted 4 months ago #
-
Yes, in wp-content\themes\choices\includes\loop-portfolio-single.php replace:
<div class="eight units alpha min_height_1">with:
<div class="four units alpha min_height_1">and:
<div class="four units entry-content">with:
<div class="eight units entry-content">Posted 4 months ago # -
Thanks for your answer. This makes you mention I need only the single but doesnt change the preview of that item. I need to do that at the time that displays the first preview, this is displayed in the same way as the single.
Posted 4 months ago # -
Open up functions-choices.php and replace:
echo "<div class='flex_column two_third first'>"; echo $slider_html; echo "</div>"; echo "<div class='portfolio-entry one_third'>"; echo avia_title(array('class'=>'portfolio-title', 'html' => "<div class='{class} title_container'><h1 class='main-title'>{title}</h1></div>"), $id);with:
echo "<div class='flex_column one_third first'>"; echo $slider_html; echo "</div>"; echo "<div class='portfolio-entry two_third'>"; echo avia_title(array('class'=>'portfolio-title', 'html' => "<div class='{class} title_container'><h1 class='main-title'>{title}</h1></div>"), $id);Posted 4 months ago # -
Many Thanks, works fine ;-)
Posted 4 months ago # -
Hey,
Glad Dude helped. :)
Regards,
IsmaelPosted 4 months ago #
Topic Closed
This topic has been closed to new replies.














