Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • philreed Friend
    #191728

    Hi all

    Does anyone know if it is possible to display the title of the article underneath the image in the slider module ? I have a horizontal view which works well, but if the titles are to long they go onto two lines and the image is consequently moved down which does not look right . . . it would be great if the title could be displayed under the image as opposed to on top.

    THANKS

    Phil

    Saguaros Moderator
    #510414

    Hello Phil,

    Yes, you can move the title underneath the image by swapping code that displays title and code for image.


    <?php if( $params->get( 'showtitle' ) ) { ?>
    <div class="ja_slidetitle">
    <?php echo ($params->get( 'link_titles' ) ) ? '<a href="'.$link.'" title="">'.$contn->title.'</a>' : $contn->title;?>
    </div>
    <?php } ?>

    and


    <?php if( $params->get( 'showimages' ) && (strlen($image)>3) ) { ?>
    <div class="ja_slideimages tooltips clearfix">
    <div class="ja_slideimages_inner">
    <div class="content">
    <?php echo $image; ?>
    </div>
    </div>
    </div>
    <?php } ?>

    in file: /modules/mod_jacontentslider/tmpl/default.php

    Note: This ‘default.php’ is base file of JA Content Slider module so that whenever you update the new version, this change will be effected. Hence, it’s better if you overwrite this file for the template you’re using. This can be done by copying above file into folder: /templates/your_default_template_folder/html/mod_jacontentslider/ and edit like above

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

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 11 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum