I want to call for image caption on img:hover but by coding abilities are not up to this task. So, if anyone can help I would really appreciate it!
This is my current situation:
- There is one 'content block' for general informations on the certain project and four 'content blocks' for images with caption;
- Client wants to be able to change images and captions via Content Manager;
- They want caption to be visible only on img:hover state;
The code looks like this:
Code: Select all
<div class="view efffect">
<div class="reference-image">
{content block=photo1}
</div>
<div class="mask text-center">
<h3>{title}</h3>
<h4>{ ????? }</h4>
<a href=" ????? " data-gallery="prettyPhoto"><i class="fa fa-search-plus"></i></a>
/div>
</div>
- one for caption call;
- one for another image call in "prettyPhoto" link (since double content block is not allowed).
Looking forward to see how to do it and thank you in advance!
Best regards to all,
jakovbak