Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • john47 Friend
    #187831

    Hi

    The caption is not working – see this page …
    http://www.stmaryscalne.org/joomla3/index.php/welcome-from-the-head

    The output code is ….
    <p style=”text-align: justify;”>
    <img class=”caption” align=”left” title=”Dr Kirk” alt=”Dr Kirk” src=”/joomla3/images/stories/stock_images_2013/dr_kirk_350.jpg”>
    Welcome to the St Mary’s Calne website.

    If I use the same page with the Protostar template the output code is as below and the caption works ..
    <p style=”text-align: justify;”>
    <div class=”img_caption left” style=”float: left; width: 350px;”>
    <img class=”caption” align=”left” title=”Dr Kirk” alt=”Dr Kirk” src=”/joomla3/images/stories/stock_images_2013/dr_kirk_350.jpg”>
    <p class=”img_caption”>Dr Kirk</p>
    </div>
    Welcome to the St Mary’s Calne website.

    I hope you can help.

    Kind regards

    John

    phong nam Friend
    #494533

    Hi,

    In order to solve this issue, pls open componentscom_contentcontroller.php & put below codes at line 52 :

    JHtml::_('behavior.caption');

    Leo

    john47 Friend
    #495828

    Hi Leo

    Thank you for the answer – this worked for me. Apologies for the delay in thanking you – I had a holiday without my laptop!

    John

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

This topic contains 3 replies, has 2 voices, and was last updated by  john47 8 years, 10 months ago.

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