Tagged: portfolio padding
-
AuthorPosts
-
February 18, 2014 at 12:50 pm #225452
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
February 18, 2014 at 5:30 pm #225611Hey 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,
IsmaelApril 18, 2014 at 12:57 pm #253136Hello 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
April 18, 2014 at 1:03 pm #253137Scrap that last comment. It is working but the images within the columns are too large to show
any padding.Thanks
Andrew
April 18, 2014 at 2:10 pm #253155April 18, 2014 at 2:54 pm #253180Hello 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
-
AuthorPosts
- The topic ‘Portfolio title and padding’ is closed to new replies.
