Tagged: portfolio padding
Hello,
I want to use the same layout as this page: http://kriesi.at/themes/enfold/portfolio/portfolio-ajax/
But, was wondering if the title below each image can be set to a h2 or similar with some custom css?
Also, is it possible to increase the padding between the columns on the portfolio pages only (just to add a bit of space between them)?
Thanks
Andrew
Hey awilson3rd!
You can edit config-templatebuilder > avia-shortcodes > portfolio.php, find this code on line 432:
$output .= "<h3 class='grid-entry-title entry-title' $markup><a href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>";
Replace it with:
$output .= "<h2 class='grid-entry-title entry-title' $markup><a href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h2>";
Add this on Quick CSS or custom.css:
#top .grid-entry.no_margin.av_one_third {
padding: 10px;
}
Best regards,
Ismael
Hello Ismael,
I am also trying to do this on a 4 column layout but the following code doesn’t work:
#top .grid-entry.no_margin.av_one_fourth {
padding: 10px;
}
Any ideas?
Thanks
Andrew
Scrap that last comment. It is working but the images within the columns are too large to show
any padding.
Thanks
Andrew
Hello Yigit,
It’s ok. I think the problem is because I have images in 4 columns which are taking up space. So, the code works for padding on the bottom as there is room for it there, it doesn’t work on the right/left because the images are too large to incorporate padding (I think)
Please close this one off.
Thanks again for your advise.
Andrew