April 26, 2012 at 7:31 am #11807
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!!April 26, 2012 at 8:39 pm #73134
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.
DevinApril 26, 2012 at 8:49 pm #73135
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'>";
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.
MyaApril 26, 2012 at 9:57 pm #73136
Great, that should do me, I hope I can figure out how to add a new call to action?
Thanks !!!April 30, 2012 at 3:30 pm #73137
The topic ‘Caption position’ is closed to new replies.