Hi, Great theme.
I have a problem. I need to have the portfolio caption and call to action button placed underneath the thumbnail image on the folio/gallery, not within the same container but after it?
Can't find how to do it? please help!!
Caption position5 posts from 3 voices
Hi, Great theme.
I'm not sure that's something we can give quick directions for. Looking through the code for the captions now, its the same series of functions applied to all the slideshows (including the singles on the portfolio page) which makes it a bit complicated.
I'll ask the other support crew to take a look to see if they have any ideas on a possibly more simple solution.
I was able to display a caption directly underneath the image by editing the loop-portfolio.php template in the /includes/ folder. Like Devin said, this will add a caption to every page that has a portfolio gallery e.g. Homepage, 4 Column Portfolio, 3 Column Portfolio, 2 Column Portfolio and 1 Column Portfolio. Also, this is a customization that you will have to again if/when you download new updates to the theme.
This is what I did.
echo "<p class='post-excerpt'>"; the_excerpt(); echo "</p>";
to loop-portfolio.php under the line
Notice I added a CSS class .post-excerpt in the code above. I did that so you could style the text as you saw fit in your custom.css or Quick CSS.
Now this puts the caption directly underneath the thumbnail but as part of the grey bordered box. You mentioned "not within the same container" so I'm not sure if this what you're looking for.
If it is though you'll want to enter your caption in the Excerpt box of the portfolio item.
The call to action is a bit tricky because you'll have to create a custom meta field under Angular > Theme Options > Portfolio, add the meta field to your loop-portfolio.php then add CSS to your custom.css or Quick CSS to hide the call to action from appearing on the portfolio item's page.
Great, that should do me, I hope I can figure out how to add a new call to action?
Let us know if you need more help.
You must log in to post.