Hi Waqar,
On a new site I want to show my custom posts like the blog posts in Avada, with an overlay. hidden link
I add them to a category, but Avada does not recognize the cpt. How can I reach this?
Hi,
Thank you for waiting.
I've performed some tests on my website and to use the Avada theme's overlay feature in your view's output, you can replace the following content in your view's loop item content template from:
<div class="recent-foto"><a href="[wpv-post-url]">[types field='headerfoto' title='%%TITLE%%' alt='%%ALT%%' size='custom' width='390px' height='268px' resize='crop'][/types]</a></div>
To:
<article id="post-1" class="fusion-post-large post fusion-clearfix post-[wpv-post-id] type-post status-publish format-standard has-post-thumbnail hentry">
<div class="fusion-flexslider flexslider fusion-flexslider-loading fusion-post-slideshow">
<ul class="slides">
<li>
<div class="fusion-image-wrapper" aria-haspopup="true">
[types field='headerfoto' title='%%TITLE%%' alt='%%ALT%%' size='custom' width='390px' height='268px' resize='crop'][/types]
<div class="fusion-rollover">
<div class="fusion-rollover-content">
<a class="fusion-rollover-link" href="[wpv-post-url]">[wpv-post-title]</a>
<div class="fusion-rollover-sep"></div>
<a class="fusion-rollover-gallery" href="[types field='headerfoto' size='full' url='true'][/types]" data-id="[wpv-post-id]" data-rel="iLightbox[gallery]" data-title="[wpv-post-title]" data-caption="">[wpv-post-title]</a>
<h4 class="fusion-rollover-title">
<a class="fusion-rollover-title-link" href="[wpv-post-url]">[wpv-post-title]</a>
</h4>
<a class="fusion-link-wrapper" href="[wpv-post-url]" aria-label="[wpv-post-title]"></a>
</div>
</div>
</div>
</li>
</ul>
</div>
</article>
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar
My issue is resolved now. Thank you!