• Resolved Paul Bearne

    (@pbearne)


    We are laying the caption over the images but found that the caption are not in the href that holds the slide

    I fixed in JS but should be in the plugin

    // hack the slider
        $slides = $('.slides li');
    
        $slides.each( function(){
            $source = $( '.caption-wrap', this );
            $dest = $( 'a:last', this );
            $( $source ).detach().appendTo( $dest );
        });

    https://ww.wp.xz.cn/plugins/ml-slider/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Paul,

    The captions can contain any HTML including links, which is why the caption itself is not put inside the link (otherwise we have the potential to put a link inside a link which will lead to invalid HTML).

    Regards,
    Tom

    Hi, good morning.

    I understand what Tom explains but in my site i need the caption inside the href (at least in mobile devices).

    Paul, where do you add that code?, i tried in the flexslider js but it didn’t work.

    In Nivo i did it just with z-index, but in Flex i cannot find how.

    My site is http://www.cardenalbilbao.es

    Thank’s

    Kike

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘caption not in href so not clickable’ is closed to new replies.