Posted by joostvdl on November 9, 2012 at 12:32pm
3 followers
| Project: | Flex Slider |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
The Caption on the Flexslider Views Slideshow is using a 'P' element as wrapper around the caption field. It should work like<p class="flex-caption"><FIELD></p>
but it works like:<p class="flex-caption"></p><FIELD>
So the Field caption tekst is placed outside the caption tags. This also fails using the P element directly within views. So it looks as if it goes wrong there. But to solve this we can use a SPAN around the caption field. this can be done via changing line 57 in flexslider_views_slideshow.module to
$view->field[$fieldname]->options['element_type'] = 'span';
This solution works perfectly.